Re: Re: PHP & XML
| From: | Stas Maximov | Date: | Wed, 16 Oct 2002 11:18:39 +0000 |
| Subject: | Re: Re: PHP & XML | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-120165@lists.php.net to get a copy of this message | ||
The benefit would be in dividing business logic from presentation layer.
Stas.
----- Original Message -----
From: "Simon Taylor" <simon.taylor@afritol.co.za>
To: <php-general@lists.php.net>
Sent: Wednesday, October 16, 2002 7:35 AM
Subject: RE: [PHP] Re: PHP & XML
> To me this is a lot of work and processing for limited benefits, a simple
db
> abstraction layer provides you with a divide between you db queries and
the
> presentation of your site, what benefits do you see in doing this?
> Cheers
> Simon
>
> -----Original Message-----
> From: Alexandru COSTIN [mailto:acostin@iakt.rdsnet.ro]
> Sent: 15 October 2002 18:50
> To: php-general@lists.php.net
> Subject: [PHP] Re: PHP & XML
>
>
> Hello,
>
> Most of what you are looking for is already implemented and fully working
in
>
> our Krysalis Professional platform.
>
> We help you create dynamic XML files, we provide you reusable taglibs to
> avoid rewriting similar code multiple times, wr provide various levels of
> caching and many more.
>
> Please se more details at : http://www.interakt.ro/products/
>
> Alexandru
>
> > Let me preface this by saying that I know the benefits of using XML
> > with regards to portability and extensibility. Here is the issue I
> > face. I have all of my data stored in a MySQL database. I'm
> > considering reworking my website so that it uses XML (after being
> > converted from resultant records in my DB) to transmit & XSLT to
> > transform and display the data to my end user. There are a few
> > benifits I can see in sending XML messages as part of the back end
> > processing. However, that seems to be out- weighed by the amount of
> > processing that's going to need to take place in actually serving the
> > data to the user. First I have to query and pull the records from the
> > database. Then, I need to send those records to a function (or
> > functions) to convert it to XML. Then, I need to take that XML data
> > and have PHP use an XSL stylesheet to transform it to HTML before it,
> > finally, gets sent on to the browser. So that's basically 2
> > conversions that take place on the back end.
> > How much experience have any of you had with doing that? Does
> > it take significantly longer to serve the pages; is there a noticible
> > performance hit? Do you realize more benifit for the back end
> > processes when using XML that makes any additional time it takes
> > to display a page to the user worth it?
> > I'd love to hear about people's experience with this kind of thing so I
> > can better make a decision wrt whether or not I should even go down
> > this route.
> >
> > thnx,
> > Chris
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>