| CARVIEW |
So I think it's about time I started blogging again
01 Nov 2009
By Andy, filed under AD7six
Yeah, I know.
It's been almost a year since I last used my blog - mainly for the usual excuses (too much work, real life gets in the way) but also because quite simply I didn't have the right frame of mind to form coherent sentances that I felt were worth publishing. In the past few weeks (months?) I haven't been around on irc much, haven't had much time for skimming the...
The Cookbook Source is released into the wild
20 Nov 2008
By Andy, filed under uncategorized
It's been a long time coming, but we finally got around to creating a publicly visible repository for the Cookbook's source code. This seems like worthy news to (re)commence blogging again after my extended silence.
Where is it? it's hosted on The Chaw, and here's the direct link.
Enjoy.
Andy
Mysql - don't forget if you set innodb_force_recovery
26 May 2008
By Andy, filed under SQL
Today I got the following error message:
andy@andy-desktop:~/www$ mysql -uroot < db_dump.sql ERROR 1030 (HY000) at line 2564: Got error -1 from storage engine
andy@andy-desktop:~/www$ mysql -uroot < db_dump.sqlERROR 1030 (HY000) at line 2564: Got error -1 from storage engine
I couldn't figure out what could possibly be the cause - the file was valid and worked on another machine.
So that I don't forget the next time I come across this error, and that something exists on the web...
Bad News
28 Apr 2008
By Andy, filed under uncategorized
I'm regretting announcing our happy news at the moment, as sadly Diana died before she was born.
Somewhat ironically so did this blog while we took some time off to reflect.... back now of course.
Bake yourself a complete admin backend - in one call
24 Mar 2008
By Andy, filed under CakePHP, PRG
Happy Christmas leveille!
How would you like to be able to generate your entire admin backend in one call? Not interesting enough? How about with built in index filters and by writing practically no code? Well... keep reading then :).
The code
The code I am discussing here is available from the Noswad cakeforge project. Be sure to read the release note.
...
Ego v Benefit
19 Feb 2008
By Andy, filed under CakePHP, CoreStuff
As many will now know the Cookbook for CakePHP is now live. Coupled with the Bakery that should mean that documentation, and finding info regarding cake, just got a whole lot easier. These two applications now mean that the scope for this blog is reduced to things that I don't deem either book worthy (not documenting how to use something) or bakery worthy (useful info that is...
Visualize your models
26 Jan 2008
By Andy, filed under CakePHP, Tools
Happy new year!
Way back in December I found an awesome article by Cakeexplorer on a script to build an image of your db schema. I had been meaning to write such a script for some time, it was great to have it already ticked off the to-do list.
There was one thing that I didn't like too much: it ran off the tables in the db rather than the models in your app/models...
Speed up your dev: write custom bake templates
28 Nov 2007
By Andy, filed under CakePHP, Tools
When I first started using cake, bake wasn't around. It took quite some time for me to decide to give it a go, but at that time what bake gave wasn't customizable, as such it's use was limited since it took nearly as much time to bake and edit the files as it did to just write the files (once you know what you are doing that is). Roll the clock forward a bit and bake ...