FilChi Weblog

Archive for the ‘PHP’ Category


test post for work


This is my last blog post on this web blog to tell you that filchi weblog has moved to http://jojosiao.com , so please update your bookmarks (and RSS feeds reader!)

Once again, please update your bookmarks, my new site is now at http://jojosiao.com !


Hi to visitors who came here to visit my wordpress blog hosted by wordpress.com. I just want to tell you that I just recently got myself a domain! But for now, I won’t tell you yet my new home site until it’s ready. It’s been a pleasure to blog here, but now, I really decided to get my own domain. I will post another here again to inform you when it’s ready. Please don’t forget to update your bookmarks !


I was at the Wordcamp Philippines 2008 last Saturday, and I felt so delighted to meet Matt Mullenweg personally and asked for his autograph.

 

I am also hoping that there would be also a cakephp conference and the core team would visit here too!


I was able to connect again to cakephp irc community yesterday about 1pm already, Philippines time. Another fellow cakephp programmer asked about how to call or include models in custom components.

I told him you can use,

App::import(‘Model’,<model_name>);

so, after a while, he told me the code worked. I also explained to him that the uses() is deprecated in 1.2.

And then, another programmer told us about using ClassRegistry::init() in custom components. He provided us a link so we can see more explanation about using the code.

I post this blog because the way of Incorporating models in components is making me confused. You suggest using App::import and then , another will say use ClassRegistry. But when you suggest ClassRegistry, someone will say, just use App::import. I don’t get it.


Flickr Photos