PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 1521 to 1540 of 6889

Marcelo Gornstein's Blog: Making your ivr nodes (call) flow with PAGI

Marcelo Gornstein's Blog: Making your ivr nodes (call) flow with PAGI
Marcelo Gornstein has returned to his "IVR with PHP" series in this latest post (see others here and here). In this new post he shows you how to create a full flow of interaction for your callers:The last article was about how to create call flow nodes for asterisk, using pagi and php, to easily create telephony applications. It's now time to add a layer on top of it, and create a complete call flow with several nodes.He talks about NodeControllers to control execution flow, results from their execution,...

Lukas Smith's Blog: Query parameter handling in Symfony2

Lukas Smith's Blog: Query parameter handling in Symfony2
Lukas Smith is looking for feedback about a question that's been in his mind a lot lately - can the handling of query parameters be made better for the Symfony2 framework (and even easier to use).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...

Gonzalo Ayuso's Blog: Building a simple SQL wrapper with PHP

Gonzalo Ayuso's Blog: Building a simple SQL wrapper with PHP
In this new post to his blog Gonzalo Ayuso has shared a simple SQL wrapper that he uses to work with his databases. It takes in an injection of the database connection component (a href="http://php.net/pdo"PDO) and provides functionality for inserts, updates, etc. with transaction support.If we don't use an ORM within our projects we need to write SQL statements by hand. I don't mind to write SQL. It's simple and descriptive but sometimes we like to use helpers to avoid write the same code again and...

PHP as a templating language

PHP as a templating language
There's been quite a bit of talk, recently, in PHP-land about templates and the ramifications of enforcing aopurea PHP scripts by preventing scripts from entering html mode. I'm not quite sure how I feel about this RFC, but it got me thinking about the whole idea of using PHP for templating in modern web apps. For many years, I was a supporter of using PHP as a templating language to render html. However, I really don't buy into the idea of adding an additional abstraction layer on top of PHP, such as...

PHPMaster.com: REST - Can You do More than Spell It? Part 3

PHPMaster.com: REST - Can You do More than Spell It? Part 3
On PHPMaster.com they've posted the third part of their series looking at development around RESTful APIs. In this latest article they take an outsider's perspective and look at using services rather than creating one from scratch. (Part 1, Part 2)Imagine it's a warm, sunny, summer day. You're just walking along, taking a leisurely noonday stroll, when all of a sudden you come face to face with a RESTful API. What do you do? How do you interface with it? Or, as those of us in the know would say, "how do...

Engine Yard: Cloud Out Loud Podcast - MongoDB and OpenStreetMap

Engine Yard: Cloud Out Loud Podcast - MongoDB and OpenStreetMap
On the EngineYard site today there's a new podcast released with Elizabeth Naramore interviewing Derick Rethans (of 10gen) about MongoDb and the OpenStreetMap project.Derick gives a little background about himself (including being a PHP evangelist for 10gen) and how he ended up working with MongoDB. They talk about how MongoDb is different and some of the involvement he has in contributing to open source projects and the OpenStreetMap project.You can listen to this latest episode either via the in-page...

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...

Latest PHP Tweets