<?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"
	>

<channel>
	<title>the CakePHP booklet</title>
	<atom:link href="http://www.seandy.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.seandy.com</link>
	<description>Anything is possible in life. Impossible is nothing with Cake.</description>
	<pubDate>Fri, 22 Aug 2008 16:59:48 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>More Scriptaculous Animations (Unofficial)</title>
		<link>http://www.seandy.com/more-scriptaculous-animations-unofficial/</link>
		<comments>http://www.seandy.com/more-scriptaculous-animations-unofficial/#comments</comments>
		<pubDate>Fri, 22 Aug 2008 16:48:30 +0000</pubDate>
		<dc:creator>Seandy</dc:creator>
		
		<category><![CDATA[script.aculo.us]]></category>

		<category><![CDATA[animation]]></category>

		<guid isPermaLink="false">http://www.seandy.com/?p=45</guid>
		<description><![CDATA[In some cases, I need to make divs sliding right out while other sliding left in. Finally, I found Scriptaculous extension effects on google. I&#8217;ve tried it, and it worked. It&#8217;s made by Jake Wendt. You can find here.

It has some cool effects which cannot be found on the original Scriptaculous.
Here&#8217;s the list :
* Gradient [...]]]></description>
			<content:encoded><![CDATA[<p>In some cases, I need to make divs sliding right out while other sliding left in. Finally, I found Scriptaculous extension effects on google. I&#8217;ve tried it, and it worked. It&#8217;s made by Jake Wendt. You can find <a title="Scriptaculous Jake Wendt" href="http://scriptaculous.jakewendt.com" target="_blank">here</a>.</p>
<p><img class="aligncenter size-full wp-image-46" title="script-extension" src="http://www.seandy.com/wp-content/uploads/2008/08/script-extension.jpg" alt="" width="357" height="127" /></p>
<p>It has some cool effects which cannot be found on the original Scriptaculous.<br />
Here&#8217;s the list :</p>
<p>* Gradient (diagonal)<br />
* Gradient (horizontal)<br />
* Gradient (vertical)<br />
* Pixelate(name change?)<br />
* Duplicate (ignore)<br />
* Pulse List Down<br />
* Pulse List Up<br />
* Pulse List Bounce<br />
* Flicker<br />
* Curtain Open (buggy!)<br />
* Curtain Close (buggy!)<br />
* Slide Right In<br />
* Slide Left In<br />
* Slide Down In<br />
* Slide Up In<br />
* Slide Right Out<br />
* Slide Left Out<br />
* Slide Down Out<br />
* Slide Up Out</p>
<p>See the live demos here <a title="Scriptaculous Jake Wendt Effect" href="http://scriptaculous.jakewendt.com/effects.html" target="_blank">http://scriptaculous.jakewendt.com/effects.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seandy.com/more-scriptaculous-animations-unofficial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>JavaScript Code Block in Cake</title>
		<link>http://www.seandy.com/javascript-code-block-in-cake/</link>
		<comments>http://www.seandy.com/javascript-code-block-in-cake/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 15:15:40 +0000</pubDate>
		<dc:creator>Seandy</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[JavaScript]]></category>

		<category><![CDATA[block]]></category>

		<guid isPermaLink="false">http://www.seandy.com/?p=40</guid>
		<description><![CDATA[Sometimes you need to trigger javascript functions or set variables in a view. With JavaScriptHelper, you do not have to print out the &#60;script&#62; tags. All you&#8217;ll need is calling a JavaScriptHelper function called codeBlock() function. The &#60;script&#62; tags will be generated itself and a CDATA too if you want it.
Make sure you have added [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-medium wp-image-43" style="border: 0pt none;" title="js-code-block1" src="http://www.seandy.com/wp-content/uploads/2008/08/js-code-block1-300x132.jpg" alt="" width="300" height="132" />Sometimes you need to trigger javascript functions or set variables in a view. With JavaScriptHelper, you do not have to print out the &lt;script&gt; tags. All you&#8217;ll need is calling a JavaScriptHelper function called codeBlock() function. The &lt;script&gt; tags will be generated itself and a CDATA too if you want it.</p>
<p>Make sure you have added JavaScriptHelper in your Controller where you&#8217;ll need the function.<br />
In controller :<br />
$helpers=array(&#8217;JavaScript&#8217;);</p>
<p>Method codeBlock($string=null, $options=array());<br />
$string = JavaScript codes to be wrapped in &lt;script&gt; tags<br />
$options = There are two parameters, $safe (boolean) and $allowCache (boolean)<br />
The default value of $options['safe'] is true which means &#8220;it wraps the script in an HTML comment and a CDATA block&#8221;. You can set to false if you do not need it.</p>
<p>I still do not understand using the $allowCache. Please read the API.</p>
<p>Usage example :<br />
In view :<br />
&lt;?php<br />
$script=&#8221;alert(&#8217;hello world&#8217;);&#8221;;<br />
echo $javascript-&gt;codeBlock($script);<br />
?&gt;</p>
<p>The result is :<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
//&lt;![CDATA[<br />
alert('hello world');<br />
//]]&gt;<br />
&lt;/script&gt;</p>
<p>I hope it helps somebody&#8230; <img src='http://www.seandy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seandy.com/javascript-code-block-in-cake/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Check your BCA balance with just 1 click!</title>
		<link>http://www.seandy.com/check-bca-balance-with-1-click/</link>
		<comments>http://www.seandy.com/check-bca-balance-with-1-click/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 16:51:10 +0000</pubDate>
		<dc:creator>Seandy</dc:creator>
		
		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[Just for Fun!]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[balance]]></category>

		<category><![CDATA[bca]]></category>

		<category><![CDATA[check]]></category>

		<guid isPermaLink="false">http://seandy.com/?p=15</guid>
		<description><![CDATA[Hello guys,
I have added a simple BCA balance checker here for anyone who has BCA account in Indonesia.
It is a very small PHP script which has AJAX functionality and using cURL function then a HTML parser class.
You can download the parser here http://php-html.sourceforge.net

I don&#8217;t know if it&#8217;s illegal? but I just tried to make life [...]]]></description>
			<content:encoded><![CDATA[<p>Hello guys,<br />
I have added a simple BCA balance checker here for anyone who has BCA account in Indonesia.<br />
It is a very small PHP script which has AJAX functionality and using <a title="cURL" href="http://en.wikipedia.org/wiki/CURL" target="_blank">cURL</a> function then a HTML parser class.<br />
You can download the parser here <a title="PHP HTML Parser" href="http://php-html.sourceforge.net/" target="_blank">http://php-html.sourceforge.net</a></p>
<p><img class="alignnone size-medium wp-image-17" style="border: 0pt none;" title="Check BCA Balance" src="http://seandy.com/wp-content/uploads/2008/08/3-300x136.jpg" alt="" width="300" height="136" /></p>
<p>I don&#8217;t know if it&#8217;s illegal? but I just tried to make life easier when we want to check our balance.<br />
As we know that, in the official site (<a title="Internet Banking BCA" href="https://ibank.klikbca.com/" target="_blank">https://ibank.klikbca.com</a>) you have to click 4 (four) times to the balance.</p>
<ol>
<li>Click the <strong>LOGIN</strong> button after User ID and PIN filled.</li>
<li>Click <strong>Account Information</strong> menu.</li>
<li>Then click <strong>Balance Inquiry</strong> menu.</li>
<li>Then you have to click <strong>LOGOUT </strong>to end your session.</li>
</ol>
<p>But here, you will just need 1 click and you&#8217;ll see&#8230; (with AJAX functionality)</p>
<p><strong>Warning : </strong><br />
This feature doesn&#8217;t use HTTPS, so it is unsecure. Please use this with your personal computer in private internet access and not in a public network. You can use it freely at your own risk.</p>
<p>Someday it may not work properly. It works normally since now August 20, 2008 23:49 and we do not know when it stops working. <img src='http://www.seandy.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.seandy.com/check-bca-balance-with-1-click/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Four (4) steps to set up AJAX Helper in CakePHP</title>
		<link>http://www.seandy.com/set-up-ajax-helper-in-cakephp/</link>
		<comments>http://www.seandy.com/set-up-ajax-helper-in-cakephp/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 09:08:57 +0000</pubDate>
		<dc:creator>Seandy</dc:creator>
		
		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[helper]]></category>

		<guid isPermaLink="false">http://seandy.com/?p=8</guid>
		<description><![CDATA[CakePHP has a built-in AJAX helper which required Prototype JS (JavaScript) and Script.aculo.us libraries. To create AJAX interactions with CakePHP is pretty simple and clean.


Four (4) steps to set up AjaxHelper so we could begin to use it :

Download the required JavaScript libraries
Prototype JS could be downloaded at www.prototypejs.org
Script.aculo.us could be download at www.script.aculo.us
Place these [...]]]></description>
			<content:encoded><![CDATA[<p>CakePHP has a built-in AJAX helper which required Prototype JS (JavaScript) and Script.aculo.us libraries. To create AJAX interactions with CakePHP is pretty simple and clean.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-9" style="border: 0pt none;" title="CakePHP AJAX Helper Composition" src="http://seandy.com/wp-content/uploads/2008/08/untitled-1.gif" alt="" width="500" height="53" /></p>
<p style="text-align: center;">
<p><strong>Four (4) steps to set up AjaxHelper so we could begin to use it :</strong></p>
<ol>
<li>Download the required JavaScript libraries<br />
Prototype JS could be downloaded at <a title="Prototype JS" href="www.prototypejs.org" target="_blank">www.prototypejs.org</a><br />
Script.aculo.us could be download at <a title="Script.aculo.us" href="http://www.script.aculo.us" target="_blank">www.script.aculo.us</a></li>
<li>Place these JavaScript libraries in /app/webroot/js/.</li>
<li>Add AjaxHelper in your controllers.<br />
For example :<br />
class PostsController extends AppController<br />
{<br />
var $name=&#8217;Posts&#8217;;<br />
var $helpers=array(&#8217;Html&#8217;,'Javascript&#8217;,'Ajax&#8217;);<br />
}</li>
<li>We have to include the JavaScript libraries in the layouts or views.<br />
echo $javascript-&gt;link(&#8217;prototype&#8217;);<br />
echo $javascript-&gt;link(&#8217;scriptaculous&#8217;);</li>
</ol>
<p><strong>Now you can use AJAX functionality in your views.<br />
</strong>Here&#8217;s some AJAX Helper functions, I took these from CakePHP API.<br />
<a title="Ajax Helper" href="http://api.cakephp.org/class_ajax_helper.html " target="_blank">http://api.cakephp.org/class_ajax_helper.html</a><strong><br />
</strong></p>
<p>$ajax-&gt;autoComplete ($field, $url=&#8221;", $options=array());<br />
$ajax-&gt;div ($id, $options=array());<br />
$ajax-&gt;divEnd ($id);<br />
$ajax-&gt;drag ($id, $options=array());<br />
$ajax-&gt;drop ($id, $options=array());<br />
$ajax-&gt;dropRemote ($id, $options=array(), $ajaxOptions=array());<br />
$ajax-&gt;editor ($id, $url, $options=array());<br />
$ajax-&gt;form ($params=null, $type= &#8216;post&#8217;, $options=array());<br />
$ajax-&gt;isAjax();<br />
$ajax-&gt;link ($title, $href=null, $options=array(), $confirm=null, $escapeTitle=true);<br />
$ajax-&gt;observeField ($field, $options=array());<br />
$ajax-&gt;observeForm ($form, $options=array());<br />
$ajax-&gt;remoteFunction ($options);<br />
$ajax-&gt;remoteTimer ($options=null);<br />
$ajax-&gt;slider ($id, $trackId, $options=array());<br />
$ajax-&gt;sortable ($id, $options=array());<br />
$ajax-&gt;submit ($title= &#8216;Submit&#8217;, $options=array());</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seandy.com/set-up-ajax-helper-in-cakephp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>First Post and CakePHP</title>
		<link>http://www.seandy.com/first-post-and-cakephp/</link>
		<comments>http://www.seandy.com/first-post-and-cakephp/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 09:56:20 +0000</pubDate>
		<dc:creator>Seandy</dc:creator>
		
		<category><![CDATA[CakePHP]]></category>

		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://seandy.com/?p=3</guid>
		<description><![CDATA[It&#8217;s been so long not writing on this blog. I decided to delete the old wordpress and set up a new one.
I think it&#8217;s the right time to start a brand new blog and more focusing on CakePHP.
It&#8217;s been almost one year that i&#8217;ve been cooking CakePHP on my kitchen. It&#8217;s very good enough PHP [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been so long not writing on this blog. I decided to delete the old wordpress and set up a new one.<br />
I think it&#8217;s the right time to start a brand new blog and more focusing on CakePHP.</p>
<p><img class="alignnone size-thumbnail wp-image-4" style="border: 0pt none;" title="CakePHP" src="http://seandy.com/wp-content/uploads/2008/08/cakephp-150x150.jpg" alt="" width="150" height="150" />It&#8217;s been almost one year that i&#8217;ve been cooking CakePHP on my kitchen. It&#8217;s very good enough PHP Framework, I think. The most well-known feature is super magic console for baking the CRUD pages. It cuts much time to develop PHP applications. I really like it very much. You have to try yourself and you&#8217;ll know why CakePHP is great PHP framework to make web applications fast.</p>
<p>As on CakePHP website says<br />
&#8220;<strong>CakePHP enables PHP users at all levels to rapidly develop robust web applications.</strong>&#8221;</p>
<p>Come on try this amazing framework and finish the job quickly than ever.</p>
<p>Website: <a title="CakePHP" href="http://www.cakephp.org " target="_blank">www.cakephp.org</a></p>
<p>Download : <a title="Download" href="http://cakephp.org/downloads" target="_blank">http://cakephp.org/downloads</a></p>
<p>Docs : <a title="Docs" href="http://book.cakephp.org" target="_blank">http://book.cakephp.org</a></p>
<p>Screencasts : <a title="Screencasts" href="http://cakephp.org/screencasts" target="_blank">http://cakephp.org/screencasts</a></p>
<p>If you&#8217;re new to CakePHP, you can start by reading the <a title="Docs" href="http://book.cakephp.org" target="_blank">Docs</a>. Do understand how CakePHP works first then you can watch screencasts especially <a title="The Blog Tutorial" href="http://cakephp.org/screencasts/view/3" target="_blank">The Blog Tutorial</a>. I bet you&#8217;ll quickly to build web apps with CakePHP. Happy baking!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.seandy.com/first-post-and-cakephp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
