cakePHP 1.3 Reference

CakePHP Useful References

My Cut / Paste bind for #cakephp

Methods:   Model Controller View
Attributes:   Model Controller
Helpers:      HTML Form (optionsSearchable (youtube)

Models:   Validation Rules

Cake Plugins:
CakeDC Searchable Video Tutorial

PHP Refernece:
Date W3Refernce

Post/Redirection/Get Retaining Search String in URL

http://josediazgonzalez.com/2010/08/16/cakephp-plugins-a-biblical-retelling/

http://book.cakephp.org/view/1653/Creating-breadcrumb-trails-with-HtmlHelper

http://planetcakephp.org/aggregator/items/1584-using-breadcrumbs-with-cakephp

http://book.cakephp.org/view/1039/Associations-Linking-Models-Together

http://book.cakephp.org/view/183/Creating-Forms

http://book.cakephp.org/view/1081/Elements

http://www.pseudocoder.com/free-cakephp-book

21 Things I learned about cakephp

Videos:
http://about.digg.com/blog/rasmus-lerdorf-php-performance
http://tv.cakephp.org/

cakephp from the irc

A Date picker to be used. http://panitzco.com/Mike/tech/jquery/using-jquery-based-datetime-picker-controls-in-cakephp/

Great code picker, but only usable for non commercial uses.

When I asked in irc for some resources to learn from savant sent me here. (http://irc.cakephp.org/logs/link/1584088#message1584098)

From there I pulled the following:

http://www.pseudocoder.com/

http://debuggable.com/posts

http://blog.joebeeson.com/

http://mark-story.com/ – lead developer for cakephp

http://teknoid.wordpress.com

First there’s the ebook.  Great book and only 66 pages long.  It gets right to the heart of what might need to be done or seen from a practical aspect.

Then there’s the documentation.  I haven’t read it yet, but ‘savant’ (the guy that never sleeps).

Cakephp official documentation.

joeb’s blog

teknoid.wordpress.com

Cakephp Dev Notes

cakebin – a place to cut/paste for the irc channel

irc.freenode.net port 6777 #cakephp

http://book.cakephp.org/view/1522/Code-Generation-with-Bake

http://book.cakephp.org/view/1039/Associations-Linking-Models-Together

http://www.cakepackages.com/

http://dblog.com.au/web-development/10-helpful-cakephp-resources/

http://devmoose.com/coding/10-awesome-cakephp-tutorials

http://www.pseudocoder.com/archives/2008/02/10/cakephp-tutorials/

http://book.cakephp.org/view/1039/Associations-Linking-Models-Together

http://book.cakephp.org/view/1525/Migrations-with-CakePHP-schema-shell

http://nuts-and-bolts-of-cakephp.com/2008/05/09/cakephp-and-custom-sql/

http://cake-php.blogspot.com/2006/09/21-things-you-must-know-about-cakephp.html

http://book.cakephp.org/view/449/find

http://book.cakephp.org/view/17/Model-Extensions-Behaviors

http://book.cakephp.org/view/183/Creating-Forms

Reprap build notes

I’m buying one of the steppers needed for this project, but I’m still not sure which RepRap I want to build.

First.. a parts list. The one that comes with the project was good, but was a bit on the confusing side to me.

Going to build a wolfstrap as a bootstrap out of wood.   First step, I need a motor to prototype with and make sure mounts are all done properly  I found two sources for the NEMA-17 motors.  I also found two pages giving details on steppers for the darwin and mendel.

www.solarbotics.com for $14.28 and hvwtech.com for $14.65

Both are a bit pricey for under a $30 dollar purchase.

Here’s the specs for the electronics that have to be built.

Gavilan showed me this for the stepper (link link) and driver.   We will need 4 steppers and 3 driviers.  The extruder controller always looks to be seperate on all the builds I’ve seen.

Video of the parts list explained, and a very nice view of part of it being assembled.

Prusa Mendel – A mendel that uses bushings instead ofwith a blog.   This is the one I will be building.
There is a very detailed parts list and nice instructions on how to assemble the end product.

Mendel electronics – looking for a good cheap source for these.  Buying this kit for my electronics.

Wolfstrap:
Berlin 1st Printing
Berlin Wolfstrap

Modding my HTC Hero

Prep Research Links:
http://forum.xda-developers.com/showthread.php?t=782320
http://forum.xda-developers.com/showthread.php?t=674833
http://forum.xda-developers.com/wiki/index.php?title=CDMA_Hero_ROMs#Kernels
http://forum.xda-developers.com/showthread.php?t=782320
http://forum.xda-developers.com/forumdisplay.php?f=643

First you have to revert the hero to a version that can be rooted.  Go into the boot loader (Volume Down+Press Trackball+Power) from a power off.

Modding my Nexus One

Okay.. here are the links I used to do this. I was pretty easy but time consuming to learn.

http://theunlockr.com/2010/02/06/how-to-backup-and-restore-your-android-phone/
http://wiki.cyanogenmod.com/index.php?title=Passion:Installing_CyanogenMod
http://forum.cyanogenmod.com/files/category/2-nexus-one/
http://forum.cyanogenmod.com/topic/5285-cyanogenmod-6-for-nexus-one-fastbootoemunlockpls-v600-08272010/
http://nexusonehacks.net/nexus-one-hacks/step-by-step-guide-on-how-to-install-cyanogen-mod-rom-on-your-nexus-one/
http://theunlockr.com/?s=nexus+one
http://alldroid.org/

I had concidered getting a larger capacity battery, but read that updating to a custom rom would help more.  The batteries I was looking at were the following:

http://www.seidioonline.com/product-p/bacy32hnx1-bk.htm
http://www.seidioonline.com/category-s/4025.htm
http://www.accessorygeeks.com/htc-nexus-one-extended-battery-battdoor-2400mah.html
http://www.wirelessground.com/nexusone.html
http://www.fommy.com/accessories.asp?make=HTC&model=HTC+Nexus+One&cat=Batteries
http://www.igonemobile.com/index.aspx

Cherrypad purchase and notes

Love this thing, and works great.  Market had some issues after about 10 downloads and stopped working.  I could search, but never could get another download to start.

Rooted the cherrypad:  I followed the instructions from here and here.  I’m archiving them here in case the site disappears.

Download the Android SDK

  1. Goto: http://developer.android.com/sdk/index.html
  2. Download the appropriate version for your OS and unzip it into a new folder.

That is now your SDK folder.

Setup SDK (Windows Only)

  1. Go into your SDK folder and run the setup task.
  2. Select the USB Drivers Revision x Package and hit Install. (No other packages are required for ADB use.)
  3. Go back to the SDK folder and go into the usb_driver folder.
  4. Download android_winusb.inf and replace the android_winusb.inf in the usb_driver folder with this modified one.

Setup ADB Access (make sure SDK is setup already following all of the above steps)

  1. Make sure your cherrypad is in “USB Debugging” by going to settings -> applications -> develpment and turning on the debugging feature.  if you don’t you won’t see the cherrypad in the device manger in the next step.
  2. Connect your GenTouch78 to the computer via USB then open the Device Manager (Right click “Computer” or “My Computer” -> Select ‘Properties’ -> Select ‘Device Manager’)
  3. Right click ‘Android Eclair’ then select ‘Update Driver Software’
  4. Select ‘Browse my computer for driver software’
  5. Select ‘Browse…’ and choose the location of your SDK folder. Make sure ‘Include subfolders’ is checked then select ‘Next’
  6. I received this error saying it could not be installed. (Windows 7 64 Bit) If you do, select ‘Close’ and continue steps below. If you see a success screen(you may with 32 bit OS) skip to step 10 below to test the installation.
  7. Right click ‘Android Eclair’ then select ‘Update Driver Software’ this time choose ‘Let me pick from a list of drivers (…)’ then select ‘Next’
  8. If you have setup an ‘Android Phone’ previously, select it, select ‘Next’ then continue to Step 8 below. If you do not have that choice choose ‘Show All Devices’ select ‘Next’ then continue to Steps 8b below.
  9. Select ‘Android ADB Interface’ Then select ‘Next’
  10. Select ‘Yes’
  11. Windows should confirm successful installation. Select ‘Close’ and close out the Device Manager
  12. You can test if it was successful by opening a command window to the ‘tools’ folder in the SDK then issuing the command ‘ADB devices’ You will see this device listed with the serial number ‘0123456789ABCDEF’

Setup ADB Access – Step 8 b (only necessary if you have never setup an Android phone on your PC)

  1. Select ‘Have Disk’
  2. Select ‘Browse…’ and select the location of the “usb_driver” folder then select ‘OK’
  3. Select ‘Android ADB Interface’ then select ‘Next’
  4. Continue with Step 9 above

Here’s how you get root access:

The following process requires a fully setup SDK with ADB access to the device.
Visit the Page Setup SDK and ADB Access for information.

Getting Root Access
Use ChainsDD/xinx’s Superuser.apk/su from here: http://forum.xda-developers.com/showthread.php?t=682828
For Eclair / Froyo (Android 2.1 / 2.2)
Main Link (Thanks ChainsDD)
Mirror (Thanks TDRevolution.com)
md5: 795cdef65fb782854721ab91ae7139b7

  1. Unzip the update.zip on to your computer.
  2. Run the following from your computer (or from a terminal on your Tablet)

adb push ./system/app/Superuser.apk /system/app/
adb push ./system/xbin/su /system/xbin
adb shell rm /system/bin/su
adb shell ln -s /system/xbin/su /system/bin/su
adb shell chmod 6755 /system/xbin/su
adb shell reboot