Re: Re: OOP vs procedural

From: Date: Tue, 06 May 2003 17:18:36 +0000
Subject: Re: Re: OOP vs procedural
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-146542@lists.php.net to get a copy of this message
I've heard a lot that XML is taking over. Is the browser going to read some kind of HTML or straight HTML. Take FlashMX for instance, you can build a movie which is essentially an application driven by XML. But the XML is like a Database with nodes instead of records. This can be dynamically generated and read by the Flash movie, but because it's flash. If you took that same flow and created an app that had a browser for the front end instead of flash player, how would you get the browser to understand what it needed to display? Are browsers going to be re-written? - Most likely my thought process is off track. Mainly I don't understand how a browser can read XML? R/T on 5/6/03 11:17, James at james@globalvision.com wrote: > Depends on your view point. I think PHP was never originally intended to be > written in OO but I favour it for my stuff and I think a lot of other people > do too, including (rather amazingly :) the PEAR lot who are rapidly becoming > what CPAN is to Perl. One of the things to think about is the upcoming > release of version 5 which is going to see a huge leap in the OO part of > PHP. There is masses of new features such as private, protected, > namespacing to name a few. If you intend to a) stick with php and b) build > complicated "application frameworks" then consider the fact that they are > intent on pushing out a new version of PHP with a much better object > approach and with this in mind youll see a lot more object based > developments. > > Regardless of your approach with OO or libs I think the 3rd style which is > _MUCH_ more important is the development of systems with data independence. > Creating systems which run entirely in XML is the future. The days of hard > coding HTML into your code is going to change. Seperating application > logic/business rules is so much more important when your working with large > scale apps. Running server side XSL styles through your app's XML output is > what you should aim for. Given that the web is ever expanding and youll see > new display langauges for all sorts of new fangled internet gadgets youll > regret not doing it! > > jim > > > "Info@Best-It" <info@best-it.biz> wrote in message > news:BADD4609.5B9D%info@best-it.biz... >> Between these 2 styles of writing PHP which is better usually: >> >> C-style, using include files containing paths to libraries? >> >> Object Oriented: everything is structures with class files? >> >> Thanks, >> /T >> > >

« previous php.general (#146542) next »