<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Teknober Blog</title>
	<atom:link href="http://blog.teknober.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.teknober.com</link>
	<description>Blog</description>
	<lastBuildDate>Mon, 07 May 2012 09:54:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>OpenSSL loading openssl.cnf</title>
		<link>http://blog.teknober.com/2012/02/08/openssl-loading-openssl-cnf/</link>
		<comments>http://blog.teknober.com/2012/02/08/openssl-loading-openssl-cnf/#comments</comments>
		<pubDate>Wed, 08 Feb 2012 21:17:46 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[Administration]]></category>
		<category><![CDATA[Apache HTTPd]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[CSharp]]></category>
		<category><![CDATA[Cassandar NoSQL]]></category>
		<category><![CDATA[Database Servers]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[GIT]]></category>
		<category><![CDATA[Internet Information Services]]></category>
		<category><![CDATA[MariaDB Server]]></category>
		<category><![CDATA[Micsoft SQL Server]]></category>
		<category><![CDATA[MySQL Server]]></category>
		<category><![CDATA[OpenSSL]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Web Servers]]></category>
		<category><![CDATA[Windows Servers]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[openssl config]]></category>
		<category><![CDATA[openssl generate certificate]]></category>
		<category><![CDATA[unable to load openssl.cnf]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=309</guid>
		<description><![CDATA[since the openssl.cnf path is hardcoded in binaries. to alter it on windows set environmental variable (as written): OPENSSLDIR=C:\PATH\TO\OpenSSL\bin OPENSSL_CONF=C:\PATH\TO\OpenSSL\bin\openssl.cnf OPENSSL_CONF doesn&#8217;t work without OPENSSLDIR even if it is set. settings these options will allow you to use your custom configuration files when creating certificates. batch file i use to create certificate GenCERT.bat [save this]]></description>
		<wfw:commentRss>http://blog.teknober.com/2012/02/08/openssl-loading-openssl-cnf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDO PDOStatement with Select Find, Skip, Take</title>
		<link>http://blog.teknober.com/2012/01/13/pdo-pdostatement-with-select-find-skip-take/</link>
		<comments>http://blog.teknober.com/2012/01/13/pdo-pdostatement-with-select-find-skip-take/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 07:56:16 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[extented pdo]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[pdo select skip take]]></category>
		<category><![CDATA[pdo select where]]></category>
		<category><![CDATA[pdo statement]]></category>
		<category><![CDATA[PHP PDO]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=302</guid>
		<description><![CDATA[Currently working on extending PDOStatement at C level which will allow to use select, join, where, order, group, find, skip, take commands in chain. the usage will be like: /* Extended PDO */ $pdo = new PDO(/* dsn */); $pdo-&#62;select('table_x')-&#62;find(array('id' =&#62; 1)); /* using alias */ $pdo-&#62;select('table_x as a')-&#62;find(array('a.id = ?'))-&#62;bind(array(1)); $pdo-&#62;select('table_x', array('table_x.id', 'table_y.name', 'table_y.description')-&#62;join_left('table_y',]]></description>
		<wfw:commentRss>http://blog.teknober.com/2012/01/13/pdo-pdostatement-with-select-find-skip-take/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare on Debian 6 with Linux-Kernel-2.6.32-5</title>
		<link>http://blog.teknober.com/2012/01/07/vmware-on-debian-6-with-linux-kernel-2-6-32-5/</link>
		<comments>http://blog.teknober.com/2012/01/07/vmware-on-debian-6-with-linux-kernel-2-6-32-5/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 19:06:31 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[vmware 8 on debian]]></category>
		<category><![CDATA[vmware linux kernel]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=297</guid>
		<description><![CDATA[Installing VMware WorkStation 8 on Debian 6 with Linux-Kernel-2.6.32-5 AMD64 error log: Can&#8217;t locate linux headers apt-get install linux-headers-2.6.32-5-all apt-get install linux-headers-2.6.32-5-all-amd64 apt-get install linux-headers-2.6.32-5-common error log: Can&#8217;t get required utilities make, tar, echo, grep, rmmod, insmod apt-get install dpkg-dev Compile vmware modules before running.]]></description>
		<wfw:commentRss>http://blog.teknober.com/2012/01/07/vmware-on-debian-6-with-linux-kernel-2-6-32-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Object Push method</title>
		<link>http://blog.teknober.com/2011/12/12/javascript-object-push-method/</link>
		<comments>http://blog.teknober.com/2011/12/12/javascript-object-push-method/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 05:41:38 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[json set node]]></category>
		<category><![CDATA[object push method]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=294</guid>
		<description><![CDATA[here is object.push or json.setNode method i implemented for my needs. the name of the function is not &#8216;push&#8217; because push method used in Array which is a subset of Object. Sample: var test = { }; test.setNode("path.to.your.variable", "my value"); // result: // alert(test.path.to.your.variable); // // will return 'my value' Code: Object.prototype.setNode = function(_key, _value)]]></description>
		<wfw:commentRss>http://blog.teknober.com/2011/12/12/javascript-object-push-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP PDO using Transactions with TModel::GenerateStatement functions</title>
		<link>http://blog.teknober.com/2011/09/09/php-pdo-using-transactions-with-tmodel-generate-statement-functions/</link>
		<comments>http://blog.teknober.com/2011/09/09/php-pdo-using-transactions-with-tmodel-generate-statement-functions/#comments</comments>
		<pubDate>Fri, 09 Sep 2011 18:27:26 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Database Servers]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[MariaDB Server]]></category>
		<category><![CDATA[MySQL Server]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[mysql start transaction]]></category>
		<category><![CDATA[PHP PDO]]></category>
		<category><![CDATA[php pdo begin transaction]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=292</guid>
		<description><![CDATA[Only have an example to show using the TModel::GenerateInsertStatement, TModel::GenerateUpdateStatement, TModel::GenerateReplaceStatement In database driver settings for mysql innodb engine, mariadb aria engine: SET AUTOCOMMIT=0; sample: public function panel_set_category_enabled($id_category) { /* start a transaction */ $this-&#62;model-&#62;beginTransaction(); /* set: populate related columns */ $columns = array(); $columns[] = new TModelColumn("enabled", 1, PDO::PARAM_INT); $columns[] = new TModelColumn("date_update", TDate::getDATE_MYSQL(time()),]]></description>
		<wfw:commentRss>http://blog.teknober.com/2011/09/09/php-pdo-using-transactions-with-tmodel-generate-statement-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP TNullClass using IteratorAggregate</title>
		<link>http://blog.teknober.com/2011/09/08/php-tnullclass-using-iteratoraggregate/</link>
		<comments>http://blog.teknober.com/2011/09/08/php-tnullclass-using-iteratoraggregate/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 20:57:43 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php get object]]></category>
		<category><![CDATA[php IteratorAggregate]]></category>
		<category><![CDATA[php post object]]></category>
		<category><![CDATA[php server object]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=289</guid>
		<description><![CDATA[This class implemented to return null especially when the variable does not exists to avoid exceptions Sample: if (TRequest::inPost(array("category", "product")) == true) { $post_category = $this-&#62;validate_category(TRequest::fromPostObject("category")); $post_product = $this-&#62;validate_product(TRequest::fromPostObject("product")); /* your code here to */ //print $post_category-&#62;name; } to use this with GET/POST/COOKIE/SERVER etc, you need to transform the array into TNullClass object using the]]></description>
		<wfw:commentRss>http://blog.teknober.com/2011/09/08/php-tnullclass-using-iteratoraggregate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Validating HTML Class using regular expression</title>
		<link>http://blog.teknober.com/2011/09/07/php-validating-html-class-using-regular-expression/</link>
		<comments>http://blog.teknober.com/2011/09/07/php-validating-html-class-using-regular-expression/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 23:01:36 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php html class validation]]></category>
		<category><![CDATA[php html validation]]></category>
		<category><![CDATA[w3c html class format]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=285</guid>
		<description><![CDATA[Validating HTML Class on the fly to pass W3C validation to get valid html. W3C format for HTML Classes: abc or a12 or a_1 [first character is always required to be letter, no commas, semi-colons are allowed] if (preg_match("/(^[a-z]{1}([a-z0-9_-\s])+)$/", $html_class)) { $tag-&#62;setAttribute("class", $html_class); }]]></description>
		<wfw:commentRss>http://blog.teknober.com/2011/09/07/php-validating-html-class-using-regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Validate HTML ID using regular expression</title>
		<link>http://blog.teknober.com/2011/09/06/php-validate-html-id-using-regular-expression/</link>
		<comments>http://blog.teknober.com/2011/09/06/php-validate-html-id-using-regular-expression/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 22:54:11 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[php html id validation]]></category>
		<category><![CDATA[php html validation]]></category>
		<category><![CDATA[w3c html id format]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=282</guid>
		<description><![CDATA[Validating HTML ID on the fly to pass W3C validation to get valid html. W3C format for HTML IDs: abc or a12 or a_1 [first character is always required to be letter, no spaces, commas, semi-colons are allowed] if (preg_match("/(^[a-z]{1}[a-z0-9_]+)$/", $html_id)) { $tag-&#62;setAttribute("id", $html_id); }]]></description>
		<wfw:commentRss>http://blog.teknober.com/2011/09/06/php-validate-html-id-using-regular-expression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP PDO Using reserved words as column names</title>
		<link>http://blog.teknober.com/2011/06/25/php-pdo-using-reserved-words-as-column-names/</link>
		<comments>http://blog.teknober.com/2011/06/25/php-pdo-using-reserved-words-as-column-names/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 03:22:28 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[pdo sql reserved words in columns]]></category>
		<category><![CDATA[pdo statement reserved words]]></category>
		<category><![CDATA[PHP PDO]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=260</guid>
		<description><![CDATA[Using reserved words as columns names causes problems on insert/update/replace while there is no problem with select. /* this will not work and will throw no exception */ $result = $model-&#62;prepare("update mytable set default = 1"); $result-&#62;execute(); /* this will work */ $result = $model-&#62;prepare("update mytable set `default` = 1"); $result-&#62;execute();]]></description>
		<wfw:commentRss>http://blog.teknober.com/2011/06/25/php-pdo-using-reserved-words-as-column-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP PDO Statement Object with CSV and JSON</title>
		<link>http://blog.teknober.com/2011/06/25/php-pdo-statement-object-with-csv-and-json/</link>
		<comments>http://blog.teknober.com/2011/06/25/php-pdo-statement-object-with-csv-and-json/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 02:25:48 +0000</pubDate>
		<dc:creator>editor</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[csv]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[pdo statement]]></category>
		<category><![CDATA[pdo statement fetch class]]></category>
		<category><![CDATA[pdo statement fetch object]]></category>
		<category><![CDATA[pdo statement generic object]]></category>
		<category><![CDATA[PHP PDO]]></category>
		<category><![CDATA[TModelRow]]></category>

		<guid isPermaLink="false">http://blog.teknober.com/?p=258</guid>
		<description><![CDATA[Implements generic object for PHP PDO sample: class TableModel { private $model = null; public function __construct($model) { $this-&#62;model = &#38;$model; } public function get_table($id = null) { $result = $this-&#62;registry-&#62;model-&#62;prepare("select a.* from table as a where a.id = ?"); $result-&#62;bindParam(1, $id, PDO::PARAM_INT); $result-&#62;setFetchMode(PDO::FETCH_CLASS, 'TModelRow'); $result-&#62;execute(); return $result-&#62;fetchAll(); } } $model = new PDO(...); $table_model]]></description>
		<wfw:commentRss>http://blog.teknober.com/2011/06/25/php-pdo-statement-object-with-csv-and-json/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

