AD7six.com Latest Entrieshttp://www.ad7six.com/Most recent entries from AD7six.com.engAD7six.com Latest Entrieshttp://www.ad7six.com/favicon.icohttp://www.ad7six.com/So I think it's about time I started blogging againhttp://www.ad7six.com/read/80-So-I-think-it-s-about-time-I-started-blogging-againhttp://www.ad7six.com/comments/index/id:80/slug:So-I-think-it-s-about-time-I-started-blogging-againhttp://www.ad7six.com/read/80-So-I-think-it-s-about-time-I-started-blogging-again<p> Yeah, I know. </p> <p> 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...</p>Sun, 01 Nov 2009 23:58:00 +0100The Cookbook Source is released into the wildhttp://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wildhttp://www.ad7six.com/comments/index/id:79/slug:The-Cookbook-Source-is-released-into-the-wildhttp://www.ad7six.com/read/79-The-Cookbook-Source-is-released-into-the-wild<p> It's been a long time coming, but we finally got around to creating a publicly visible repository for the <a href="http://book.cakephp.org">Cookbook</a>'s source code. This seems like worthy news to (re)commence blogging again after my extended silence. </p> <p> Where is it? it's hosted on <a href="http://thechaw.com">The Chaw</a>, and here's the <a href= "http://thechaw.com/cakebook">direct link</a>. </p> <p> Enjoy. </p> <p> Andy </p> Thu, 20 Nov 2008 12:53:10 +0100Mysql - don't forget if you set innodb_force_recoveryhttp://www.ad7six.com/read/78-Mysql-don-t-forget-if-you-set-innodb_force_recoveryhttp://www.ad7six.com/comments/index/id:78/slug:Mysql-don-t-forget-if-you-set-innodb_force_recoveryhttp://www.ad7six.com/read/78-Mysql-don-t-forget-if-you-set-innodb_force_recovery<p> Today I got the following error message: </p> <pre> andy@andy-desktop:~/www$ mysql -uroot &lt; db_dump.sql ERROR 1030 (HY000) at line 2564: Got error -1 from storage engine </pre> <p> I couldn't figure out what could possibly be the cause - the file was valid and worked on another machine. </p> <p> So that I don't forget the next time I come across this error, and that something exists on the web...</p>Mon, 26 May 2008 14:35:02 +0200Bad Newshttp://www.ad7six.com/read/77-Bad-Newshttp://www.ad7six.com/comments/index/id:77/slug:Bad-Newshttp://www.ad7six.com/read/77-Bad-News<p> I'm regretting announcing <a http://www.ad7six.com/MiBlog/AnnouncingDM0eight' title='News about a baby'>our happy news</a> at the moment, as sadly Diana died before she was born. </p> <p> Somewhat ironically so did this blog while we took some time off to reflect.... back now of course. </p> Mon, 28 Apr 2008 13:38:55 +0200Bake yourself a complete admin backend - in one callhttp://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-callhttp://www.ad7six.com/comments/index/id:76/slug:Bake-yourself-a-complete-admin-backend-in-one-callhttp://www.ad7six.com/read/76-Bake-yourself-a-complete-admin-backend-in-one-call<p> Happy Christmas leveille! </p> <p> How would you like to be able to generate your entire admin backend in one call? Not interesting enough? How about <em>with built in index filters</em> and by writing practically no code? Well... keep reading then :). </p> <h2> The code </h2> <p> The code I am discussing here is available from <a href= "http://cakeforge.org/frs/?group_id=152&amp;release_id=388">the Noswad cakeforge project</a>. Be sure to read the release note. </p> <h2> ...</h2>Mon, 24 Mar 2008 22:46:49 +0100Ego v Benefithttp://www.ad7six.com/read/75-Ego-v-Benefithttp://www.ad7six.com/comments/index/id:75/slug:Ego-v-Benefithttp://www.ad7six.com/read/75-Ego-v-Benefit<p> As many will now know the <a href="http://book.cakephp.org">Cookbook</a> for <a href= "http://www.cakephp.org">CakePHP</a> is now live. Coupled with the <a href= "http://bakery.cakephp.org">Bakery</a> 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...</p>Tue, 19 Feb 2008 14:35:35 +0100Visualize your modelshttp://www.ad7six.com/read/74-Visualize-your-modelshttp://www.ad7six.com/comments/index/id:74/slug:Visualize-your-modelshttp://www.ad7six.com/read/74-Visualize-your-models<p> Happy new year! </p> <p> Way back in December I found an awesome article by <a href= "http://cakeexplorer.wordpress.com">Cakeexplorer</a> on a script to <a href= "http://cakeexplorer.wordpress.com/2007/12/14/build-image-of-current-cake-schema/">build an image of your db schema</a>. 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. </p> <p> 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...</p>Sat, 26 Jan 2008 12:00:39 +0100Speed up your dev: write custom bake templateshttp://www.ad7six.com/read/73-Speed-up-your-dev-write-custom-bake-templateshttp://www.ad7six.com/comments/index/id:73/slug:Speed-up-your-dev-write-custom-bake-templateshttp://www.ad7six.com/read/73-Speed-up-your-dev-write-custom-bake-templates<p> 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 ...</p>Wed, 28 Nov 2007 13:08:46 +0100