background preloader

10 Advanced PHP Tips Revisited - Smashing Magazine

10 Advanced PHP Tips Revisited - Smashing Magazine
Advertisement Here, on the Smashing Editorial team, we always try to meet the expectations of our readers. We do our best to avoid misunderstandings, and we try to spread knowedge and present only the best design practices and development techniques. However, sometimes we do make mistakes. And when we do, we apologize and do our best to correct what we’ve done. In November 2008 we published the article 10 Advanced PHP Tips To Improve Your Programming21. 10 Useful PHP Tips Revisited by Chris Shiflett and Sean Coates This article is a rebuttal to 10 Advanced PHP Tips To Improve Your Programming21 — henceforth referred to as the previous article — published last November here on Smashing Magazine. Listed below are 10 excellent techniques that PHP developers should learn and use every time they program. Unfortunately, the intrigue devolves into disappointment. 1. This particular tip is just a link to a useful resource with no discussion on how to use it. <? 2. 3. This brings us to our tip. 4. <?

10 tools for Modern PHP Development | DaveDevelopment Featured Posts Coding DCI in PHP I recently taken a closer look at DCI, this post describes my investigation as to how viable implementing DCI in PHP might be php dci bdd behat featured oop Silex Controllers as Services Using a custom controller resolver, we can create controllers as services much like how it's done with the full stack Symfony framework php featured silex dependency injection How I'm doing TDD with PHP I've been watching the Destroy All Software back catalog over the last couple of months and it's really inspired me to up my TDD game. php tdd bdd rambling behat phpunit featured Handling Symfony2 Events Asynchronously How many of your event listeners need to act synchronously? php symfony2 event driven architecture featured open source message queues silex Phpmig - Simple migrations for php Phpmig is a simple migrations system that was written to be easily adopted regardless of the framework or libraries you are using. php migrations pear featured open source Browse more blog posts

PHP: What You Need To Know To Play With The Web - Smashing Magaz Advertisement In this article, I’ll introduce you to the fundamentals of PHP. We’ll focus on using PHP to access Web services and on turning static HTML pages into dynamic ones by retrieving data from the Web and by showing different content depending on what the user has entered in a form or requested in the URL. You won’t come out a professional PHP developer, but you’ll be well on your way to building a small page that uses Web services. What Is PHP? PHP is a server-side language that has become a massive success for three reasons: It is a very easy and forgiving language. Installing PHP Locally, And Your First Code To run PHP locally on your computer, you’ll need a local server with PHP enabled. In this file, type (or copy and paste) the following: <? If you open this file in a browser by accessing your XAMPP or MAMP installation (via or you should see the following: But you won’t see that. <? PHP blocks start with <? <? <ul><? <? <?

Related: