Give Me Cake

CakePHP Baking, Internet Marketing, SEO, Design and more

Changing Model’s useTable from Controller

Posted on | August 8, 2010 | 3 Comments

I was struck trying to get the controller to change the table of a model for a while. It turns out that

$this->Payment->useTable = “payment_archives”;

doesn’t work..

Instead I have to use:

$this->Payment->setSource(“payment_archives”);

It seems that useTable is not referenced to when deciding which table to use.

iPhone development

Posted on | August 8, 2010 | No Comments

I have gotten a Mac machine for iPhone development.

My first tutorial: WebView

This is my first attempt for a iPhone application. Making use of WebViewUI to create an iPhone application that will load http://givemecake.dev-work.com.

This application is not signed with Apple Developer’s security certificate, it can be installed only on a jailbreak iPhone.  ;)

To self sign the application or for version iOS4

To create the IPA from APP

A .ipa file is essentially a zipped up version of the .app file

Code are not yet released because it have not been tested on a real device.

Beta testers who are interested can leave me a comment with your contact email. Or email me to get the files.

  • Give me Cake?

    Givemecake.dev-work.com a collection of web application development tips, tutorials and resources.
  • See Your Ads Here

  • See Your Ads Here

  • Meta