Cake PHP Framework

If you’re like me, you’ve been hearing “Ruby this” and “Rails that” everywhere you go. But I don’t have time right now to be playing with a new development framework, however nifty it may be. Busy, busy, busy, that’s me. I’ve got my perl programming to do at the day job, and in those tiny little niches of time that I can nab for other things, it’s generally PHP for me.

But maybe now we can have our Cake and eat it, too. Cake is a PHP framework based on Rails. Features:

  • compatibile with PHP4 and PHP5
  • supplies integrated CRUD for database and simplified querying so you shouldn’t need to write SQL for basic operations (although some familiarity with SQL is strongly recommended)
  • request dispatcher with good looking, custom URLs
  • fast, flexible templating (PHP syntax with helper methods)
  • works from a website subdirectory, with very little Apache configuration involved (requires .htaccess files and mod_rewrite to work; these are available on most web servers)

So, if you’ve been wondering what the Ruby on Rails hoopla is about, maybe running through the Cake tutorial will give you a taste. One of the core ideas is to simplify the developer’s interaction with the database. Writing code to interact with the backend database is one of the most tedious things that a web developer has to deal with. It seems like every time we need to write even the simplest of applications, we end up re-writing the same functions over and over. Web application frameworks like RoR and Cake greatly simplify this process. You just set your tables up with a few standard fields, create a matching class which inherits from the framework’s database model, create a simple little view skeleton, and — BAM! — you’ve got your basic database interaction all wrapped up. The framework handles all the CRUD operations for you.

[via: fiftyfoureleven]

Stumble It!
Cake PHP Framework

Related posts:

  1. Ajaxing the Rails
    " If you’re a web developer, then hopefully you’ve already heard of Ruby on Rails and Ajax. If not, you’re behind the times, and you..."
  2. Zend Core for IBM
    " Cool, IBM and Zend have announced Zend Core for IBM. Basically, it’s an officially supported version of PHP with tight integration into IBM’s DB2..."
  3. glTail: Realtime Logfile Visualization
    " This screenshot shows how glTail visualizes a comment spam attack in my configuration. A few days ago, in my usual daily link browsing, I..."
  4. We interrupt this silence for a brief message…
    " I’m a working stiff with three kids and an hour-each-way commute. I think that’s all the explanation needed for the long break, right? It’s..."
  5. Web Collaboration: The IT Kitchen
    " Shelley Powers is organizing a fun experiment in collaboration, called the IT Kitchen (in addition to the wiki, there is also an IT Kitchen..."
This entry was posted in Ruby, Servers, Software, Tech and tagged , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Trackbacks

  1. By LittleguyDesigns on July 3, 2005 at 6:25 am

    geek ramblings » Cake PHP Framework

  2. By the stuff in my head on April 22, 2005 at 1:26 pm

    Del.icio.us Links Recycle My Cell Phone geek ramblings » Cake PHP Framework Basecode firefox extension for Basecamp project management Howtoons MacMerc.com: Adobe Photoshop Tip: Comic Art Effect Electronic Publishing – Life on the edge Windows XP and Digital Photography: Understanding Sharpening

  3. By Put Together Quickly on April 22, 2005 at 12:31 pm

    Originaly found here: Cake PHP Framework If you’re like me, you’ve been hearing “Ruby this” and “Rails that” everywhere you go. But I don’t have time right now to be playing with a new development framework, however nifty it may be. Busy, busy, busy, that

  4. [...] ro seeks public’s help » caked PHP Originaly found here: Cake PHP Framework If you’re like me, you’ve been hearing “Ruby t [...]

Post a Comment

Your email is never published nor shared.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

  • Subscribe

  • Follow Me

    Twitter  Facebook  Flickr  Last.fm  LinkedIn  StumbleUpon  Technorati  Delicious  
    • icon
  • Referrals

    Sign up for Text Link Ads and earn money from your blog.
  • Lifestream