maandag 3 maart 2008
New theme
Hi, I just changed to a new theme... I needed something fresh here. Soon I will add new posts here about CakePHP 1.2. I also included some new plugins (thanks to Joost de Valk). Thanks for the theme goes to http://www.nodethirtythree.com/.
dinsdag 19 februari 2008
Ajax is so easy...
Ok, download CakePHP 1.2 and create a basic website with some scaffolding or something. Include Prototype or jQuery and think about a part of your page you want to replace with the result of an Ajax request.
Suppose you have a scaffolded list of customers. When you press the View link, Cake redirects you to customers/view/123. You can catch the link and call some Javascript to load the result of customers/view/123 in a div on your index page. Quite easy, but you now see your header twice. Not cool. Hmmm....
Suppose you have a scaffolded list of customers. When you press the View link, Cake redirects you to customers/view/123. You can catch the link and call some Javascript to load the result of customers/view/123 in a div on your index page. Quite easy, but you now see your header twice. Not cool. Hmmm....
Labels:
ajax,
CakePHP,
jquery,
prototype,
requesthandler
maandag 11 februari 2008
Adding a filter to scaffolded tables
I just wrote a start for a filter which I can easily add above scaffolded tables. Scaffolding is great, but I want a form above to limit the number on results based on my parameters. It is not finished, but I just post what I have, any tips, let me know.
vrijdag 8 februari 2008
jQuery worth trying
This is a very short post, but I wanted to tell you about jQuery. I tried it earlier this week in a new CakePHP 1.2 project. Just included jquery.js in my layout and used the code below to have a toggle effect. With Mootools I always needed much more code to achieve this effect.
Try this example.
Let me know what you think of this!
Try this example.
Let me know what you think of this!
vrijdag 4 januari 2008
Nice article on using scriptacolous
Jan Boonen wrote a nice article on using Scriptacolous effects in CakePHP 1.2:
CakePHP's AJAX helper offers you direct access to the Sciptaculous library. If you have little AJAX experience, the usage of this helper might seem overwhelming. It is not, the largest part of the job is creating good views.
Check it out!
CakePHP's AJAX helper offers you direct access to the Sciptaculous library. If you have little AJAX experience, the usage of this helper might seem overwhelming. It is not, the largest part of the job is creating good views.
Check it out!
Labels:
ajax,
CakePHP,
effects,
scriptacolous
donderdag 3 januari 2008
Pushing your app to production
Sean posted a comment here about an article he wrote about pushing a CakePHP application to production. He makes a few modifications to have CakePHP determine its location automatically and uses a script and ncftp to upload the latest trunk from subversion to the production environment.
Check out the script and his article on his weblog.
Thanks, Sean!
Check out the script and his article on his weblog.
Thanks, Sean!
Labels:
CakePHP,
deployment,
development,
production
woensdag 2 januari 2008
Happy new year!
Best wishes for 2008 for everyone! The guys at CakePHP started with new production and development versions, so check out the site.
Happy developing!
Happy developing!
Abonneren op:
Posts (Atom)