Back to Library
Cover of Vol 6, Issue 10

php[architect]

Vol 6, Issue 10

October 2007

Articles
6

Optimizing into C++

by Darren Cook

We've all seen those language flame wars on forums and mailing lists across the Internet. Perl's better than python, PHP's better than Ruby, Java's better than C++, and woe betide anyone who mentions .NET! Just for a change, let's look at things from a different angle. Let's talk about choosing the right tool for the job.

Introducing mod_rewrite

by Rich Bowen

mod_rewrite is perhaps the most powerful, and least understood, module that comes with the Apache Web server. Further, as Web applications become more complex and the need for a simple user interface more important, mod_rewrite is getting more and more use. This seems a good time to show you how to work with it.

XMLParser: Trawling the DOM

by Adam Flynn

SimpleXML has made life much easier in PHP 5, but with many ISPs still stuck on PHP 4, there are all sorts of hoops that developers have to jump through to reliably parse XML documents with PHP. Annoyed by those issues, I set off to write XMLParser: a library that brings PHP 5's XML-parsing bliss to PHP 4. It's helped me a lot, and hopefully it might help you too!

Building Vertical Market Applications with SugarCRM

by Aspen Olmsted

In my experience, most vertical market applications use 80% of their development resources building standard CRM functionality and only 20% on the rest. A smarter solution might be to distribute your vertical market application along with SugarCRM, and focus your development efforts on your specific line-of-business requirements instead

Security Corner: File Inclusion

by Simon Morris

If you want to prevent an intrusion, You should try to avoid file inclusion. "Best use ''fread()''", You will have to concede, To stay quite clear of delusion! As your security coach, Here's my recommended approach: Let ''include'' persist, But use a whitelist To stay quite clear of reproach.

/etc: RRDTool

by Sean Coates

Analyzing data can be tough. Outputting the analysis into a form that is actually useful to our end users is often its own challenge. On top of these problems, we also have to figure out mechanisms to properly collect data at the correct interval, determine an archival scheme, and aggregate multiple data sources into consolidated output. I don't know about you, but I have a hundred better things to do with my time than to deal with these issues. Fortunately, for the most part, this is a solved problem. RRDTool to the rescue.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →