IT Community - Software Programming, Web Development and Technical Support

using DBobject

This is a discussion on using DBobject within the PHP Programming forums, part of the Web Development category; Hi, i have read a artile that using Pear/ dboject file for communicating with DB.. how it help in increasing ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 11:08 AM
gattuso gattuso is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 6
gattuso is on a distinguished road
Exclamation using DBobject

Hi,

i have read a artile that using Pear/ dboject file for communicating with DB.. how it help in increasing the compatability. and wat are the advantages and disadvantages while using it..

and also i have read that when migrating from MySql to Oracle .. we don't need to do any chages in the code part (SQuery and othe rconnected.) just by setting teh parametes is enough.. is it so..

Thanx in advance.
Gattuso
__________________
Gattuso
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-28-2007, 04:43 AM
kathir kathir is offline
D-Web Trainee
 
Join Date: Feb 2007
Posts: 25
kathir is on a distinguished road
Default Re: using DBobject

Yes... you correct.
But consider one thing...

Why we go for those kinds of massive libraries or classes or over generalize things, for a DB migration.

I Accept PEAR, Smarty and DBObjects are widely libraries in PHP. But how it increases the web site capabilities?

Just have a look this bellow link how the generalized libraries affect your web site performance.

Mike Morgan - morgamic.com » Blog Archive » Scalable PHP with APC, memcached and LVS (Part 2)

Thanks
-Kathir
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-28-2007, 04:57 AM
gattuso gattuso is offline
D-Web Trainee
 
Join Date: Jul 2007
Posts: 6
gattuso is on a distinguished road
Default Re: using DBobject

Thanx kathir,

can u plz explain this... how come the code get flexible /effective(fast so and so).. is by using every thing as object.. while taking the Scenario for accessing large volume DB ???

like even QUERY wiritng through class. and tranfrign any amount of data thru object..

thnax in advance..
Gattuso
__________________
Gattuso

Last edited by Booom : 08-01-2007 at 06:06 AM.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-01-2007, 05:55 AM
kathir kathir is offline
D-Web Trainee
 
Join Date: Feb 2007
Posts: 25
kathir is on a distinguished road
Default Re: using DBobject

Yes…

Objects are really fast compared with array, string. Not only object for every thing we can use normalization, serialization and JSON concepts. These concepts also providing a fast access and improve your code and site stability.
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 -7. The time now is 02:04 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0