Page 1 of 1
New framework: Cake
Posted: Fri Apr 08, 2005 12:00 pm
by pies
If you haven't been living under a rock lately, you've heard about Ruby on Rails -- a web-programming framework for Ruby language. It's really great. I've wrote a basic framework to the likeness of Rails and you are all free to try it out, use it, extend it or whatever. It's published under a public domain licence (or: do whatever you want with it). The current version is 0.2.1 and it was released yesterday.
Cake website:
http://sputnik.pl/cake/
Posted: Fri Apr 08, 2005 4:30 pm
by shiznatix
ya laugh at my stupidity but, what is a framework???
Posted: Fri Apr 08, 2005 8:24 pm
by pies
shiznatix wrote:ya laugh at my stupidity but, what is a framework???
Well, a framework is a bunch of code that is supposed to make writing software easier. It contains all the useful features, such as easy access to the database, templating, and request handling. There's some more info at the Cake website --
http://sputnik.pl/cake
Posted: Sat Apr 09, 2005 1:00 pm
by Ambush Commander
Posted: Sat Apr 09, 2005 1:04 pm
by pies
Ambush Commander wrote:What about
PEAR?
What about it?
Posted: Sat Apr 09, 2005 1:10 pm
by Ambush Commander
Isn't it also a repository of high-quality reusable PHP components? Note high-quality.
CRUD (Create, Read, Update, Delete) for database and simplified querying -- for basic stuff you should not need to write SQL
PEAR:DB
fast, flexible templating
If you mean a templating system to seperate design logic from application logic:
Smarty
Each of them is battle tested and are very good (I currently use Smarty for all my templating needs and I'm playing around with DB).
Posted: Sat Apr 09, 2005 1:26 pm
by pies
Ambush Commander wrote:Isn't it also a repository of high-quality reusable PHP components? Note high-quality.
PEAR:DB and Smarty are great libraries, and I've used them before -- especially Smarty. The point is, hovewer, that they are not integrated with each other, and they do not constitute a framework. Cake is (at least in the principles) highly integrated, lightweight, and simple. While it might not be for everyone, it's made my life much easier, and that's why I'm sharing it. That, and I'd like people to contribute code so that I don't have to do it all myself
If PEAR:DB and Smarty are enough for you, that's great, but they usually were too much for me, and I've decided to make things work in a different way. Cake could be made to work with PEAR:DB (or AdoDB) and Smarty if there was such a need.