May 1, 2008 – 3:47 pm Tags: PHP , Programming Sometimes I’ve seen people say PHP is a bad first language, because it teaches bad programming habits. But is this actually true at all? Often those who say that don’t really like PHP themselves either, many times because of equally untrue reasons.
It all starts with Tim Bray’s little rant on PHP a few days ago. Tim can’t stand PHP, because …all the PHP code I’ve seen in that experience has been messy, unmaintainable crap. Spaghetti SQL wrapped in spaghetti PHP wrapped in spaghetti HTML, replicated in slightly-varying form in dozens of places. I have seen some well designed PHP code, but generally Tim’s observation stands valid. The problem is more than wild spread of spaghetti PHP code found in many open source applications.
Using FastCGI to Host PHP Applications on IIS 7 : Host Applications on the Microsoft Web Platform : Running PHP Applications on IISThis article describes how to configure the FastCGI module and PHP to host PHP applications on IIS 7. IMPORTANT : This article provides instructions on how to install and use the FastCGI component on Windows Server 2008 and Windows Vista SP1 . SP1 is required on Windows Vista. Table of Contents Overview The FastCGI module in IIS enables popular application frameworks that support the FastCGI protocol to be hosted on the IIS Web server in a high performance and reliable way.
PHP is so much more than a scripting language. It’s a full-fledged language capable of building very complex applications. By harnessing the full power of Object Oriented Programming, you can reduce the amount of time you spend coding and use it to build better websites. This tutorial will show you how. What is OOP?
Guest Page Embedding Service This is neither iframe nor Ajax . You can embed a guest page in your php page natively using the php include command. Go Native! How to use Address Book Builder & Pickup Center
Choosing a good PHP frameworks can help you develop complex Rich Internet Applications quickly, with a best practices oriented approach, and saving a lot of time reusing code snippets that are already available. There are a lot of interesting PHP frameworks you can choose for your next web project. Which framework you choose is really a personal decision. There is no one “best” framework on the market at the moment. Different frameworks are better for different types of projects, and for different developer.
Generating print-ready well-formatted PDF documents with PHP is not an easy task. Traditionally, there are two main approaches to PDF generation with PHP. Given sufficient time and patience, both partially get the job done, but still leave a lot to be desired:
Numerous examples from robots to bicycles have been offered as “easy” explanations of what OOP is. I’ve opted to show you how OOP works with a real-life example, for a programmer. By creating a MySQL CRUD class you can easily create, read, update and delete entries in any of your projects, regardless of how the database is designed. Setting up the skeleton of our class is fairly simple once we figure out exactly what we need.
Posted by blake on Jun 4, 2008 in Code , Performance , PHP | 166 comments The last couple of weeks have been quite the experience for me. I was part of a big layoff at my former company, which was interesting. I've never been in that position before, and it's hard not to take it personally. I started watching the job boards, and a nice-looking full-time PHP position caught my eye, so I sent out a resume and landed an interview.