PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 181 to 197 of 197

Intro to Shield (A Security-Minded Microframework)

Intro to Shield (A Security-Minded Microframework)
Recently I've become more interested in something that, despite the wealth of resources out there, still seems to be lacking in a lot of web-based applications - good security. I'm not talking just about the aofilter input, escape outputa kinds of things. I'm digging a little deeper than that and looking and encryption, hashing, authentication methods and network/server configurations that could open your app wide open to malicious people. So, in an effort to learn more about the security for PHP based...

William Durand: REST APIs with Symfony2: The Right Way

William Durand: REST APIs with Symfony2: The Right Way
In this new post to his site William Durand looks at creating a RESTful API with the help of the Symfony2 framework.Designing a REST API is not easy. No, really! If you want to design an API the right way, you have to think a lot about everything, and either to be pragmatic or to be an API terrorist. It's not just about GET, POST, PUT, and DELETE. In real life, you have relations between resources, the need to move a resource somewhere else (think about a tree), or you may want to set a specific value to...

Phil Sturgeon: Why PHP DateTime Rocks

Phil Sturgeon: Why PHP DateTime Rocks
Phil Sturgeon has a new post sharing some of his thoughts on why DateTime rocks, the advanced functionality that PHP has to work with dates, times, timezones, etc.DateTime is nothing new, but it's definitely under-used by many. It was made available in PHP 5.2.0 but got some of its best features until PHP 5.3.0. PHP 5.3.0 is pretty old now, but I learned about DateFormat::createFromFormat() after reading a new addition to PHP The Right Way: Date and Time.He shares to "offender" examples where using this...

DZone.com: Development Setup for Neo4j and PHP: Part 2

DZone.com: Development Setup for Neo4j and PHP: Part 2
On DZone.com today they've posted the second part of their series looking at using the Neo4j database from your PHP applications.This is Part 2 of a series on setting up a development environment for building projects using the graph database Neo4j and PHP. In Part 1 of this series, we set up unit test and development databases. In this part, we'll build a skeleton project that includes unit tests, and a minimalistic user interface.The post includes the code to create the testing harness, a bootstrap...

PHPMaster.com: Generate Documentation with ApiGen

PHPMaster.com: Generate Documentation with ApiGen
On PHPMaster.com today there's a new tutorial showing you how to generate API documentation with the help of the ApiGen documentation tool and some commenting in your code.If you're writing undocumented code, you should stop this very moment. I'm serious. Drop everything, save and quit, and focus on improving this essential part of your workflow. [...] ApiGen is a docblock parser like PhpDocumentor. PhpDocumentor has been around for much longer than ApiGen, but unfortunately its development is somewhat...

Anthony Ferrara: N-Tier Architecture - An Introduction

Anthony Ferrara: N-Tier Architecture - An Introduction
Anthony Ferrara has posted an introduction to the concept of an N-tier architecture - a method for planning your application so that there's a separation of concerns between multiple layers, each handling their own specialty.If you've been following me for a while, you've likely heard me use the term "N-Tier Architecture" before. Today's question comes from Arno. He basically asked "What is this N-Tier Architecture thing you keep talking about?"... So, to answer his question, a N-Tier Architecture is one...

Accelerating PHP 5.4 with updated PHP cache extensions - Lately in PHP podcast episode 26

Accelerating PHP 5.4 with updated PHP cache extensions - Lately in PHP podcast episode 26
Accelerating PHP 5.4 with updated PHP cache extensions - Lately in PHP podcast episode 26 By Manuel Lemos Despite PHP 5.4 was released some time ago, only now PHP caching extensions like eAccelerator and APC are being adapted to work with PHP 5.4. This was one of several topics discussed in the episode 26 of the Lately in PHP podcast on which Manuel Lemos received Michael Kimsal as guest co-host. The also discussed the latest PHP 5.4.5 and PHP 5.3.15 releases, the planned implementation of generators...

Site News: Blast from the Past - One Year Ago in PHP

Site News: Blast from the Past - One Year Ago in PHP
Here's what was popular in the PHP community one year ago today:Matthew Weier O'Phinney's Blog: Using DocBlox Mayflower Blog: Traits in PHP 5.4 Anthony Ferrara's Blog: Security Review: Creating a Secure PHP Login Script AppBackr Blog: Automated PHP unit testing for lazy coders Community News: PHP 5.4 alpha3 Released for Testing Sander Marechal's Blog: A YuiCompressorFilter for Phing DZone.com: Assetic: JavaScript and CSS files management Gonzalo Ayuso's Blog: Building a client for a REST API with PHP...

NetTuts.com: Build Web Apps From Scratch With Laravel: Filters, Validations, and Files

NetTuts.com: Build Web Apps From Scratch With Laravel: Filters, Validations, and Files
NetTuts.com has posted the latest in their series about the Laravel framework with this new post, a look at creating filters, validators and working with files.In this Nettuts+ mini-series, we'll build a web application from scratch, while diving into a great new PHP framework that's rapidly picking up steam, called Laravel. In this lesson, we'll be learning about some very useful Laravel features: filters, and both the validation and files libraries.They continue improving their sample application...

PHPEasy.co.uk: Tutorial: Type Hinting in PHP

PHPEasy.co.uk: Tutorial: Type Hinting in PHP
On the PHPEasy.co.uk site there's a quick new tutorial posted about type hinting in PHP - how to use it and why you should use it in your code.Type hinting allows you to tell a function which data type to accept for its arguments. When you call a function, if a type hint is present, the argument passed will be checked to make sure it is of the type specified. If a function has control over what it accepts as an argument, then it is more likely that the code within the function will have the data it needs...

DZone.com: Using APC correctly

DZone.com: Using APC correctly
In this new post to DZone.com, Giorgio Sironi shares a few helpful hints on using the APC tool to help improve the performance of your web applications.APC (Alternative PHP Cache) is one of the orthogonal tools you can use to speed up the execution of PHP code. This article explains from scratch the correct use of APC's system cache (not touching the user cache, which is just a standard key/value map). APC has also other features like upload progress support, but the system cache is its main features and...

Community News: CodeWorks 2012 Announced

Community News: CodeWorks 2012 Announced
php|architect has officially announced CodeWorks 2012, a touring conference coming to 10 different cities all around the US, each one day long (September 25th through December 12th).Codeworks, our annual one-day conference tour, is back for yet another year to bring a full day of learning, fun, and networking opportunities to a city near you! Like every year, we're visiting ten cities on this year's tour, with some familiar stops and some new venues added to our roster. Codeworks is a one-of-a-kind...

Christoph Hochstrasser: PHP Socket Programming, done the Right Way (tm)

Christoph Hochstrasser: PHP Socket Programming, done the Right Way (tm)
In one of his recent posts Christoph Hochstrasser looks at socket programming done the right way, complete with code examples showing both client and server setups.When writing about socket programming with PHP, nearly all articles are about the Socket Extension, despite it's the unfriendliest and most cumbersome way to work with Sockets in modern PHP. Let me introduce you to something, which apparently is pretty unknown among PHP programmers.He starts off by introducing the concept of a socket (for...

Thomas Weinart: What Iterators Can Do For You

Thomas Weinart: What Iterators Can Do For You
Thomas Weinert has a new post to his site showing some of the things that iterators can do for you (including working with arrays and aggregation).Basically Iterators provide a list interface for an object. Like all interfaces they are a contract how something can be used. If you use an interface it is not relevant how it is implemented - the implementation logic is encapsulated. It is of course relevant on the integration level. A bad implementation can impact the performance of you application. Even an...

N-Tier Architecture - An Introduction

N-Tier Architecture - An Introduction
If you've been following me for a while, you've likely heard me use the term "N-Tier Architecture" before. Today's question comes from Arno. He basically asked "What is this N-Tier Architecture thing you keep talking about?"... So, to answer his question, a N-Tier Architecture is one that uses more than one tier. Of course there's more to it than that...Read more A

Ibuildings techPortal: Custom Zend Framework Form Elements

Ibuildings techPortal: Custom Zend Framework Form Elements
In this new post to the Ibuildings techPortal, Gavin Corbett introduces you to Zend_Form elements (a part of the Zend Framework, v1) and how to create a custom one.Creating forms in Zend Framework (ZF) is easy, but creating and managing complex forms can get messy! Using config files is perfectly good if you use standard Zend Form elements; it is quick and easy to setup a form in a few minutes however you will have limited control over how the form is rendered. If you want to display your own custom form...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
Lib Mail myColors Image Saver DB Session Advanced Class Thumbs Crop Captchazo Simple PHP Login Script Elastic Email Multi-threading in PHP IMAP/POP3 reader class