PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 101 to 120 of 199

Community News: Latest PEAR Releases for 05.14.2012

Community News: Latest PEAR Releases for 05.14.2012
Latest PEAR Releases: PHP_UML 1.6.1 HTTP_Header2 0.1.0 Services_PageRank 0.1.0 Services_Libravatar 0.2.0 Auth_PrefManager 1.2.2

Speaking at OSCON 2012

Speaking at OSCON 2012
In July, I'm speaking at OSCON. Actually I have a few interesting speaking engagements coming up, and I haven't got around to adding upcoming dates to my blog yet but I'll be at phpDay in Verona next week with a talk on API Design and DPC in Amsterdam in June with a tutorial on Web Services and a talk on what OAuth is actually for. OSCON is special because I have always wanted to go and never imagined it would actually happen. Every year I read the list of sessions from the year before, and decide that I...

Magento CE 1.7 forked on GitHub

Magento CE 1.7 forked on GitHub
[This blog post is also available in German.] A Yesterday, it was the news of the day: Magento CE 1.7 was forked on GitHub by some community people. After the spectacular departure of Yoav Kutner, then-CTO at Magento (TechCrunch reported), it was just a matter of time until Magento was forked. Indeed, as Vinai Kopp pointed out on twitter, there have been some forks of Magento already (project agent-ohm, a fork of Magento 1.3), but Mage+ seems to be another case. What are the reasons of the fork of...

Query parameter handling in Symfony2

Query parameter handling in Symfony2
So this topic has been going back and forth in my head a lot over the last months: how do we best handle query parameters in Symfony2? Obviously you can already access query parameters today already but it could be easier. Essentially what I want is a way for developers to easily configure what query parameters they expect and what values they expect. This is useful for several things like easier reading and validating of query parameters, self documenting API both for API docs for humans but also for...

Community News: Drafts of PSR-1 (and prelim PSR-2)

Community News: Drafts of PSR-1 (and prelim PSR-2)
In the wake of the success of the PSR-0 standard (used in autoloading structures across frameworks and various applications), the PHP-FIG (Framework Interoperability Group) has start on drafts of other standards to help provide some guidelines to standardize PHP development across projects.Among the group, Paul Jones has been writing serveral proposals under the PSR-1 standard banner that include: The basic draft of the standard An extended draft of the same A more advanced version, PSR-2 that also...

Tom Barrett's Blog: WordPress is more than a CMS, it is a PHP Framework

Tom Barrett's Blog: WordPress is more than a CMS, it is a PHP Framework
Tom Barrett has a new post that shares an opinion he has about WordPress and what it can be used for - that the popular software is more than just a blog, it's a PHP framework.A software library is a collection of resources used to develop software. [...] A Software Framework is a software library with certain goals in mind [...]. Hopefully theme and plugin developers will be familiar enough with WordPress to see where I am going with this.He mentions some of the similarities WordPress has with other PHP...

Anson Cheung's Blog: Create nodes in eZ Publish using PHP

Anson Cheung's Blog: Create nodes in eZ Publish using PHP
In this new post from Anson Cheung, he shows you a way to easily create nodes in an eZ Publish-based application, importing content, XML and files/files.Node creation in eZ Publish by using PHP is not well documented. However, when you encounter a large number of contents need to be insert periodically. You would ask is there any way to automate the content insert function with script in eZ Publish??? Any here I am going to summarize the way to achieve.He includes the code examples showing how to: Set...

Developer.com: Creating a Custom ACL in PHP

Developer.com: Creating a Custom ACL in PHP
On Developer.com there's a recent tutorial showing you how to create a basic access control list in PHP (not in any specific framework). It allows you to define not only user permissions but groups and group permissions as well.So, what are the advantages of an ACL model? The first advantage is security. Using this model will make your application more secure and less vulnerable to exploits. When securing any program, it is good to give to the user only the privileges he/she needs. That means that, for...

NetTuts.com: Aspect-Oriented Programming in PHP

NetTuts.com: Aspect-Oriented Programming in PHP
On the NetTuts.com (Plus) site there's a new tutorial focusing on aspect-oriented programming in PHP, a shift from the usual methods of development with the goal of "crosscutting" your classes/objects by weaving in extra functionality. Their examples of this method use the FLOW3 framework.All modern frameworks (including FLOW3) push a lot of patterns into the software stack that do a great job at separating the concerns of your business logic; among them the famous MVC that is separating your logic into...

Evan Coury's Blog: Module-specific layouts in Zend Framework 2

Evan Coury's Blog: Module-specific layouts in Zend Framework 2
Evan Coury has a new Zend Framework 2 related blog post looking at how to use module specific layouts in your application (even though, technically, it's more related to the controller).There's really no such thing as "module-specific" anything in ZF2, so what we're really talking about is the topmost namespace of the controller being dispatched. So in the case of MyModuleControllerSomeController, the topmost namespace would be MyModle. In most cases, this will be the name of a given module.He gives a...

Site News: Popular Posts for the Week of 05.11.2012

Site News: Popular Posts for the Week of 05.11.2012
Popular posts from PHPDeveloper.org for the past week:Lorna Mitchell's Blog: Tips on Writing an API for a Smartphone App PHPMaster.com: REST - Can You do More than Spell It? Part 2 Site News: Job Postings for the week of 04.29.2012 Fawad Hassan's Blog: Load More Using KnockoutJS, PHP/CodeIgniter (Part 1) PHP-Security.net: New PHP-CGI Exploit (CVE-2012-1823) PHP.net: PHP 5.3.12 and PHP 5.4.2 Released! PHP.net: PHP 5.3.12 and 5.4.2 and the CGI flaw (CVE-2012-1823) Larry Garfield's Blog: readfile() not...

Nelmio is coming to a conference near you

Nelmio is coming to a conference near you
Here is a quick update on conferences we will attend and speak at in the next couple months. If you are attending any, feel free to come and say hi! Next week our entire team will be at jsDay and phpDay in Verona, Italy. If you haven't got tickets yet, hurry up because it is about to be sold out.Pierre will talk about Backbone.js, Igor has two talks about realtime apps with websockets and the Silex microframework and I myself will be talking about managing your dependencies with Composer.In June there...

Michael Nitschinger's Blog: Writing a simple lexer in PHP

Michael Nitschinger's Blog: Writing a simple lexer in PHP
In this new post to his blog Michael Nitschinger shows you how to create a simple lexer to parse incoming content (like custom configuration files or anything that uses its own domain-specific language).A lot of developers avoid writing parsers because they think it's pretty hard to do so. Writing an efficient parser for a general purpose language (like PHP, Ruby, Java,...) is hard, but fortunately, most of the time we don't need that much complexity. Typically we just want to parse input coming from...

The Bakery: CakeFest 2012 Announced!

The Bakery: CakeFest 2012 Announced!
On The Bakery they've officially announced CakeFest 2012, happening in Manchester, UK from August 30th through September 2nd (some days are conference sessions, others are training).CakeFest is the annual CakePHP Conference. It brings together developers, users, and interested parties from all over the world for a four day event filled with workshops, talks, dinners, social events and plenty of fun! If you are interested in giving a talk at CakeFest, we still have submissions open! Just head over to the...

PHPClasses.org: Using DaDaBIK to create a PHP CRUD Database Front-End without coding

PHPClasses.org: Using DaDaBIK to create a PHP CRUD Database Front-End without coding
On the PHPClasses.org blog there's a recent post about using the DaDaBIK project to automatically generate a database CRUD frontend without having to code any of it by hand.Writing CRUD database front-ends and simple database applications is a very common task that almost all PHP developers need to implement. It is usually a simple job to accomplish, but is also time consuming, boring and error-prone to implement. Software developer's tend to avoid time wasting and repetitive tasks in favor of more...

Talk - Don't Be Stupid, Grasp Solid - NYPHP

Talk - Don't Be Stupid, Grasp Solid - NYPHP
Time for some more shameless self-promotion... AI'll be doing a talk at the New York PHP group on Tuesday May 22, 2012. I'll be discussing some Object Oriented design principles and how to apply them to your projects. We'll specifically discuss the STUPID and SOLIDAprinciples. Here's the full abstract:When it comes to Object Oriented Programming, there is no shortage of guidelines and principles for how to properly design an OO system. There is also no shortage of acronyms to describe these principles:...

PHPMaster.com: The Dependency Inversion Principle

PHPMaster.com: The Dependency Inversion Principle
Continuing on in their series looking at the SOLID development principles, Alejandro Gervasio picks back up and looks at the "D" in the set - the dependency inversion principle.While some central concepts in the realm of object-oriented design are generally harder to digest at first, such as separation of concerns and implementation switching, more intuitive and untangled paradigms on the other hand are simpler, like programming to interfaces. Unfortunately, the DIP's formal definition is surrounded by a...

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:Chris Jones' Blog: Oracle Tuxedo: A New way to Run PHP Applications Brian Swan's Blog: Book Review: Easy PHP Websites with the Zend Framework Gonzalo Ayuso's Blog: Real time monitoring PHP applications with websockets and node.js DZone.com: WebMatrix: Why PHP Developers Should Pay Attention Jason Gilmore's Blog: Sixteen Best Practices- and Productivity-Related PHP Tutorials Lorna Mitchell's Blog: Idiot-Proof Deployment with Phing Query7.com:...

State of PHPCR

State of PHPCR
It feels like every minute a PHP developer somewhere on this planet starts implementing something aching to a CMS from scratch. Some do it because their project is "so big" it that it "obviously needs" a custom solution. Some do it because their project is "so small" it "obviously needs" just a few days of hacking .. to build a custom solution. Let me briefly focus on the later group. Working in a company with less than 10 people building websites for customers a project needs a bit of a CMS to manage...

Getting PEAR Working On Windows 7

Getting PEAR Working On Windows 7
So that I don't forget how to do this next time around. Worked for me, your mileage may vary. First step is to get a working install of PHP. Download PHP 5.4.latest ZIP file from the PHP Windows website Unpack the ZIP file into c:\php. You should end up with c:\php\php.exe Copy c:\php\php.ini-development to be c:\php\php.ini Edit c:\php\php.ini to suit (e.g. set date.timezone) Make sure you add c:\php to your system PATH (via Computer's Advanced Properties - Environment Variables) Reboot (this is...