New framework: Cake

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply

Do you use a framework?

Yes, always
1
14%
On some projects
2
29%
No, but I'd like to try
2
29%
No, and I won't
1
14%
What's a framework?
1
14%
 
Total votes: 7

pies
Forum Newbie
Posts: 4
Joined: Fri Apr 08, 2005 11:52 am

New framework: Cake

Post 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/
User avatar
shiznatix
DevNet Master
Posts: 2745
Joined: Tue Dec 28, 2004 5:57 pm
Location: Tallinn, Estonia
Contact:

Post by shiznatix »

ya laugh at my stupidity but, what is a framework???
pies
Forum Newbie
Posts: 4
Joined: Fri Apr 08, 2005 11:52 am

Post 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
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

What about PEAR?
pies
Forum Newbie
Posts: 4
Joined: Fri Apr 08, 2005 11:52 am

Post by pies »

Ambush Commander wrote:What about PEAR?
What about it?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post 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).
pies
Forum Newbie
Posts: 4
Joined: Fri Apr 08, 2005 11:52 am

Post 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.
Post Reply