You are here: Fast/scalable way of creating a REST webservice api in PHP5? « PHP Programming Language « IT news, forums, messages
Fast/scalable way of creating a REST webservice api in PHP5?

Posted by Marian Steinbach on 03/19/07 14:29

Howdy!

I am just switching from PHP4 to PHP5. Since there are many different
ways to create XML in PHP5, I'd like to know from the community which
one would be suited best for a REST web service API.

I guess that beeing CPU friendly and using little RAM both count very
high here as criteria.

Here are some methods to be considered (probably not complete):

1) XMLWriter
haven't tested that yet.

2) Using a template framework like PEAR HTML_Template_Sigma
I'm doing this for RSS feeds in PHP 4 already. Unfortunately, I have
no comparison with other methods.

3) Writing XML "manually"
like $xml .= '<tag>'.utf8_encode($value).'</tag>';

4) you name it

Thanks to everybody who helps me to investigate/benchmark into the
right direction! I'd also be happy about articles on that topic.

Marian

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация