Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 03-14-2008, 06:51 PM
Junior Member
 
Join Date: Mar 2008
Location: Belo Horizonte, Brasil
Posts: 4
Send a message via ICQ to walterheck Send a message via Skype™ to walterheck
Red face am I alone?

Hey all, I am a complete PHP noob, just switching over from another language cos I have to

Am I the only one who thinks this is really ugly? Why doesn't the Zend Framework have an elegant solution for something as simple as this? If I ever want to create a descent web application, don't I have to join all the time?

What I am more worried about, and just want to verify: if I create an instance of Asset and then just call Asset->getAssetInfo(), will it make more trips to teh database then just the one select statement? in other words, instantiating Asset will not generate any database traffic (for metadata or otherwise) until I call fetchAll on it, right?

Sorry for all the questions. As I said, I'm new to all this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 03-14-2008, 07:40 PM
Junior Member
 
Join Date: Mar 2008
Location: Belo Horizonte, Brasil
Posts: 4
Send a message via ICQ to walterheck Send a message via Skype™ to walterheck
Default

Okay, so I found a slightly nicer way to do this, using the new 1.5 RC 3 version of ZF. Look here for an explanation: Problems with join()
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:44 AM.