<?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>Webscriptz.be &#187; project</title>
	<atom:link href="http://webscriptz.be/tags/project/feed" rel="self" type="application/rss+xml" />
	<link>http://webscriptz.be</link>
	<description></description>
	<lastBuildDate>Thu, 13 Oct 2011 18:16:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Yiiframework Captcha problem</title>
		<link>http://webscriptz.be/2011/02/23/yiiframework-captcha-problem/379</link>
		<comments>http://webscriptz.be/2011/02/23/yiiframework-captcha-problem/379#comments</comments>
		<pubDate>Wed, 23 Feb 2011 14:48:10 +0000</pubDate>
		<dc:creator>webscriptz</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[yii]]></category>
		<category><![CDATA[yiiframework]]></category>

		<guid isPermaLink="false">http://webscriptz.be/2011/02/23/yiiframework-captcha-problem/379</guid>
		<description><![CDATA[While lanching a new website I had problems with the AJAX request allowing the captcha to refresh itself. The link &#8216;Get a new code&#8217; didn&#8217;t work properly and I didn&#8217;t really find an alternative at first. The only alternative I found it to add in the $this->widget(); add an array after &#8216;CCaptcha&#8217;: Share on Facebook]]></description>
			<content:encoded><![CDATA[<p>While lanching a new website I had problems with the AJAX request allowing the captcha to refresh itself. The link  &#8216;Get a new code&#8217; didn&#8217;t work properly and I didn&#8217;t really find an alternative at first.</p>
<p>The only alternative I found it to add in the $this->widget(); add an array after &#8216;CCaptcha&#8217;:</p>
<p><?php $this->widget(&#8216;CCaptcha&#8217;, array(&#8216;clickableImage&#8217;=>true, &#8216;showRefreshButton&#8217;=>false)); ?></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2011/02/23/yiiframework-captcha-problem/379" target="_blank"><img src="http://webscriptz.be/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2011/02/23/yiiframework-captcha-problem/379" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://webscriptz.be/2011/02/23/yiiframework-captcha-problem/379/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MarchandiseDuWeb.com</title>
		<link>http://webscriptz.be/2010/10/21/marchandiseduweb-com/336</link>
		<comments>http://webscriptz.be/2010/10/21/marchandiseduweb-com/336#comments</comments>
		<pubDate>Thu, 21 Oct 2010 21:03:37 +0000</pubDate>
		<dc:creator>webscriptz</dc:creator>
				<category><![CDATA[post]]></category>
		<category><![CDATA[db]]></category>
		<category><![CDATA[marchandiseduweb]]></category>
		<category><![CDATA[mdw]]></category>
		<category><![CDATA[mdw.com]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://webscriptz.be/2010/10/21/marchandiseduweb-com/336</guid>
		<description><![CDATA[Alright, The first real website I&#8217;ve written in Yii framework is online, just head over to http://marchandiseduweb.com (hopefully you know some French). I&#8217;m not telling you it&#8217;s a finished project because the database needs some items in it and you don&#8217;t see all the website (yet) online, just the &#8216;front website&#8217; because the other parts [...]]]></description>
			<content:encoded><![CDATA[<p>Alright,</p>
<p>The first real website I&#8217;ve written in Yii framework is online, just head over to <a href="http://marchandiseduweb.com" rel="nofollow">http://marchandiseduweb.com</a> (hopefully you know some French).</p>
<p>I&#8217;m not telling you it&#8217;s a finished project because the database needs some items in it and you don&#8217;t see all the website (yet) online, just the &#8216;front website&#8217; because the other parts have yet to be scripted, luckely the database design is complet/</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2010/10/21/marchandiseduweb-com/336" target="_blank"><img src="http://webscriptz.be/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2010/10/21/marchandiseduweb-com/336" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://webscriptz.be/2010/10/21/marchandiseduweb-com/336/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I made my decision about my project, hav&#8230;</title>
		<link>http://webscriptz.be/2010/10/19/i-made-my-decision-about-my-project-hav/335</link>
		<comments>http://webscriptz.be/2010/10/19/i-made-my-decision-about-my-project-hav/335#comments</comments>
		<pubDate>Tue, 19 Oct 2010 20:37:44 +0000</pubDate>
		<dc:creator>webscriptz</dc:creator>
				<category><![CDATA[status]]></category>
		<category><![CDATA[me]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://webscriptz.be/2010/10/19/i-made-my-decision-about-my-project-hav/335</guid>
		<description><![CDATA[I made my decision about my project, having learned a lot with it, I think it&#8217;s time to recode the little thing. The database only counts 12 or 13 tables so it&#8217;s a not much but it&#8217;s rather that part of my application that needs some love and attention to get it to look more [...]]]></description>
			<content:encoded><![CDATA[<p>I made my decision about my project, having learned a lot with it, I think it&#8217;s time to recode the little thing. The database only counts 12 or 13 tables so it&#8217;s a not much but it&#8217;s rather that part of my application that needs some love and attention to get it to look more professional and uniform.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2010/10/19/i-made-my-decision-about-my-project-hav/335" target="_blank"><img src="http://webscriptz.be/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2010/10/19/i-made-my-decision-about-my-project-hav/335" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://webscriptz.be/2010/10/19/i-made-my-decision-about-my-project-hav/335/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Profiling a php application</title>
		<link>http://webscriptz.be/2010/09/04/profiling-a-php-application/316</link>
		<comments>http://webscriptz.be/2010/09/04/profiling-a-php-application/316#comments</comments>
		<pubDate>Sat, 04 Sep 2010 14:00:17 +0000</pubDate>
		<dc:creator>webscriptz</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[myself and me]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[load]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[profile]]></category>
		<category><![CDATA[profiling]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://webscriptz.be/?p=316</guid>
		<description><![CDATA[Today I&#8217;ve been talking with a friend of mine, Pieter. We share a server together for our websites,programming adventures etc. I&#8217;ve been talking about a project I&#8217;m writing and reminded me to go profile my application so the load of the application keeps low. So I&#8217;ve been searching the web for some easy profiling system, [...]]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;ve been talking with a friend of mine, <a href="http://pmaene.be">Pieter</a>. We share a server together for our websites,programming adventures etc.</p>
<p>I&#8217;ve been talking about a project I&#8217;m writing and reminded me to go profile my application so the load of the application keeps low. So I&#8217;ve been searching the web for some easy profiling system, I came across Xdebug and others but the one that really struck my fancy was <a href="http://particletree.com/features/php-quick-profiler/">PHP quick profiler</a>. </p>
<p>It might not have every single feature other applications have in their toolbox but it&#8217;s easy to install and easy to work with. The things I&#8217;m most concerned about are shown nicely so I don&#8217;t need more</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2010/09/04/profiling-a-php-application/316" target="_blank"><img src="http://webscriptz.be/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2010/09/04/profiling-a-php-application/316" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://webscriptz.be/2010/09/04/profiling-a-php-application/316/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>YII framework configuration</title>
		<link>http://webscriptz.be/2009/12/20/yii-framework-configuration/253</link>
		<comments>http://webscriptz.be/2009/12/20/yii-framework-configuration/253#comments</comments>
		<pubDate>Sun, 20 Dec 2009 22:47:49 +0000</pubDate>
		<dc:creator>webscriptz</dc:creator>
				<category><![CDATA[tutorials]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[MVC]]></category>
		<category><![CDATA[oop]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[yii]]></category>
		<category><![CDATA[yii framework]]></category>

		<guid isPermaLink="false">http://webscriptz.be/?p=253</guid>
		<description><![CDATA[I&#8217;m toying with the Yii Framework for some time now and even if i cost me a lot of anger and frustration in the beginning I&#8217;m starting to like it more and more, alas I do have to say that the documentation isn&#8217;t always that clear and for someone who begins or who&#8217;ll write some [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m toying with the Yii Framework for some time now and even if i cost me a lot of anger and frustration in the beginning I&#8217;m starting to like it more and more, alas I do have to say that the documentation isn&#8217;t always that clear and for someone who begins or who&#8217;ll write some large applications the configuration file can be a hassle so here&#8217;s my solution:</p>
<blockquote><p>Brake down the configuration file in multiple files, this will give you some speed disadvantage and some will  saying that I&#8217;m raping Yii framework purpose for speed but at least to me it seems more clear</p></blockquote>
<p>This is the protected.config/main.php</p>
<p><pre class="brush:[php]">
dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=&gt;'WEBSITENAME',
'modules'=&gt;array(
'users'=&gt;array(
//sub modules in the module users
'modules'=&gt;array(
'messaging',
'profile',
'dashboard',
)
),
'about',
'forums',
),
// preloading 'log' component active loading
'preload'=&gt;array('log'),

// autoloading model and component classes lazy loading
// I make the difference between CformModel and CActiveRecord
'import'=&gt;array(
'application.models.*',
'application.models.forms.*',
'application.models.database.*',
),

// application components
'components'=&gt;array(
// enable cookie-based authentication
'user'=&gt;array('allowAutoLogin'=&gt;true),

// data relinquished to database.php
// for easy access and usability as also for the future
// installation procedure, it's less to write to a file
'db'=&gt;include(dirname(__FILE__).'/database.php'),

// for a better overview we exculded url routes to a seperate file
'urlManager'=&gt;include(dirname(__FILE__).'/routes.php'),

//authentication component needs data from db for CdbConnection
'authManager'=&gt;array(
'class'=&gt;'CDbAuthManager',
'connectionID'=&gt;'db',
'defaultRoles'=&gt;array('authenticated', 'guest'),
),

//security measures
'request'=&gt;array(
'enableCsrfValidation'=&gt;true,
'enableCookieValidation'=&gt;true,
),
),

// application-level parameters that can be accessed
// using Yii::app()-&gt;params['paramName']
// uncomment the following if you want static params in the application
//'params'=&gt;array(include(dirname(__FILE__).'/params.php'))
);</pre></p>
<p>database.php<br />
<pre class="brush:[php]">
'CDbConnection',
'connectionString'=&gt;'mysql:host=localhost;dbname=mysql',
//'connectionString'=&gt;'pgsql:host=localhost;port=5432;dbname=mysql',
'username' =&gt; 'root',
'password' =&gt; '',
);
?&gt;
</pre></p>
<p>routes.php<br />
<pre class="brush:[php]">
'path', // path or get
'urlSuffix' =&gt; '', //.html .whateverextentionyouwant
'showScriptName' =&gt; true,
'rules'=&gt;array(
'users/recovery/perimeterSecurity/'=&gt;'users/recovery/perimeterSecurity',
),
);
?&gt;
</pre></p>
<p>param.php<br />
<pre class="brush:[php]">//nothing in it at the moment</pre></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2009/12/20/yii-framework-configuration/253" target="_blank"><img src="http://webscriptz.be/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2009/12/20/yii-framework-configuration/253" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://webscriptz.be/2009/12/20/yii-framework-configuration/253/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Register &amp; Yii projects</title>
		<link>http://webscriptz.be/2009/09/24/register-yii-projects/244</link>
		<comments>http://webscriptz.be/2009/09/24/register-yii-projects/244#comments</comments>
		<pubDate>Thu, 24 Sep 2009 22:09:19 +0000</pubDate>
		<dc:creator>webscriptz</dc:creator>
				<category><![CDATA[myself and me]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[AR]]></category>
		<category><![CDATA[framework]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[me]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[RBAC]]></category>
		<category><![CDATA[register]]></category>
		<category><![CDATA[yii]]></category>

		<guid isPermaLink="false">http://webscriptz.be/?p=244</guid>
		<description><![CDATA[So, I think ti&#8217;s time for some updates on the website. I has been a bit wild the last 3 weeks. School has started yet again and I had a project to finish not to mention that i&#8217;m starting to see through the Yii framework structure. I&#8217;ve been writing diagrams for different project that I [...]]]></description>
			<content:encoded><![CDATA[<p>So, I think ti&#8217;s time for some updates on the website.</p>
<p>I has been a bit wild the last 3 weeks. School has started yet again and I had a project to finish not to mention that i&#8217;m starting to see through the Yii framework structure. I&#8217;ve been writing diagrams for different project that I have in my head too and that takes a lot of time. Besides figuring out how I want the database to be and my database system had schifted, alto mysql is the favorite, a friend encouraged that i take a look to postgresql. Yii has given me a hard time to basically because it&#8217;s been a bit of a struggle to change coding methodes in function of Yii and then I don&#8217;t start talking about the RBAC system it has build-in. It took every neuron to understand everything form begin to end. Models was also something, Yii has two model types and the active records model is something to understand, I was a bit lost at how I would have to write my own AR functions but thanks to the forums I got that figured out too. All in all everything is good at the moment.</p>
<p>I&#8217;ll be uploading some pictures of the system I wrote recently so you can get some sneaky peaks at it but unfortunately it won&#8217;t be open source system.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2009/09/24/register-yii-projects/244" target="_blank"><img src="http://webscriptz.be/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2009/09/24/register-yii-projects/244" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://webscriptz.be/2009/09/24/register-yii-projects/244/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP app installer</title>
		<link>http://webscriptz.be/2009/02/09/php-app-installer/210</link>
		<comments>http://webscriptz.be/2009/02/09/php-app-installer/210#comments</comments>
		<pubDate>Mon, 09 Feb 2009 22:41:55 +0000</pubDate>
		<dc:creator>webscriptz</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[ideas]]></category>
		<category><![CDATA[installer]]></category>
		<category><![CDATA[ongoing]]></category>
		<category><![CDATA[part of]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[Webscriptz.be]]></category>

		<guid isPermaLink="false">http://webscriptz.be/?p=210</guid>
		<description><![CDATA[The last 2 to 3 days I&#8217;ve been working on a system that can be easely integrated into any application so that it can install itself on a server. I&#8217;ve added some ideas to suit myself, one is that data is installed to 2 databases. One for the users and one for the data of [...]]]></description>
			<content:encoded><![CDATA[<p>The last 2 to 3 days I&#8217;ve been working on a system that can be easely integrated into any application so that it can install itself on a server. I&#8217;ve added some ideas to suit myself, one is that data is installed to 2 databases. One for the users and one for the data of the users.</p>
<p>Why? Because you can scale a lot easier if parts are in other databases. And it includes some of my projects that I want to start, see Google, users tend to user a website more when they are registerated but what if, like google, I register for Gmail and I can have Google docs with the same account but not the annoying registration? That is what I want to do.</p>
<p>Great and Free? &#8230;..I&#8217;m not yet at that stage</p>
<p>TODO:</p>
<ul>
<li>The things that are left for me to do is basically that I scale everything more</li>
<li>Maybe port to smarty all the vars and everything</li>
<li>Maybe make a installer creator script for the people who want to implement my script.</li>
<li>Do something to the mysql files</li>
<li>Make more comments in the code</li>
<li>Document the script</li>
<li>&#8230;</li>
</ul>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2009/02/09/php-app-installer/210" target="_blank"><img src="http://webscriptz.be/wp-content/plugins/add-to-facebook-plugin/facebook_share_icon.gif" alt="Share on Facebook" title="Share on Facebook" /></a><a href="http://www.facebook.com/share.php?u=http://webscriptz.be/2009/02/09/php-app-installer/210" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://webscriptz.be/2009/02/09/php-app-installer/210/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

