“Well, there’s a revolution going on in rec-rooms, offices, and classrooms, around the world. A revolution where 15 million people are taking part. They’re sharing scientific data, arguing philosophy, or passing on cooking tips, and gossip. Night and day, through a computer network called ‘Internet’”…
Archive for February, 2006
Inter..what?
February 13th, 2006 at 3:29 amBake me a Cake
February 12th, 2006 at 10:42 pmInitial thoughts on trying to work with the Cake PHP Framework (read: Ruby on Rails in PHP)…
- The documentation sure is lacking
- Why doesnt the ‘bake’ script have a ‘–help’ (or any other help type switch)?
- I refuse to name my db table primary keys as ‘id’. In my opinion it should always be singular-table-name+id, i.e. ‘Users’ table → userid (or user_id), ‘Books’ table → bookid, etc. Is this an normal “Active Record” thing (it seems thats how RoR does it too)? I see that Cake may support the defining of primary key names, but I’m somewhat concerned this will complicate the association magic of it’s ActiveRecord implementation. Again, it’d be nice to have some clear documentation on this.
- The rd11 programs are interesting resources for fully functioning Cake apps, but so nearly completely uncommented it’s unfortunate (at least, rdBloggery is).
- I really wish it had some sort of drop-in user system. RoR’s Login Engine looks really nice, and as a ‘rails engine’ it is “a way of dropping in whole chunks of functionality into your existing application without affecting any of your existing code. [Engines] could also be described as mini-applications, or vertical application slices – top-to-bottom units which provide full MVC coverage for a certain, specific application function.” (Introduction in Rails Engines)
Anyways… Overall, I’m not completely dissatissfied with the experience, but the above are really making it more of an uphill battle than it needs to be, especially since, after having read several different cake reference resources for days, once I finally had my ‘Ah-ha’ moment, I had something working after only an hour of work. One of the beautiful things about PHP is it’s online documentation. I’ve pretty much earned my living for the last few years using a language I learned almost entirely through the online documentation (plus a good 10 years of computer programming experience to build-upon, but still! :P )
Hey Ralph, can I get me some?
February 2nd, 2006 at 7:49 pm![]()
A Brantford, Ont., man who says he has never worked or lived in Alberta received a cheque from the Alberta government as part of its prosperity payout.
Brian Clegg also says he won’t cash the $400 cheque, which he received in the mail on Wednesday, but will hold onto it as a keepsake.
The Canadian Taxpayers’ Federation says it’s another reason Albertans would have been better off with a tax cut than the rebate, nicknamed Ralphbucks after Premier Ralph Klein.