PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 221 to 240 of 240

Ibuildings techPortal: Create MVC: Meet the ViewModel Pattern

Ibuildings techPortal: Create MVC: Meet the ViewModel Pattern
On the Ibuildings techPortal, there's a new tutorial posted from Barney Hanlon looking at a new method that developers can use in their applications to give MVC apps a better way to handle their presentation logic - ViewModel.This provides MVC applications a natural location for presentation logic and lazy functionality while maintaining the segregation between the layers of responsibility within the code. It allows designers access to data and methods they need, while hiding aspects that aren't needed...

Agile Toolkit News: Yin and Yang of modern PHP UI Frameworks

Agile Toolkit News: Yin and Yang of modern PHP UI Frameworks
On the Agile Toolkit News site today there's a recent post looking at a specific part of several of the different PHP-based frameworks out there - the UI or view layer. He wonders why, with UI-specific PHP frameworks out there, why the two can't just play nice together.I came over this old question on StackOverflow: "Which PHP Framework will get me to a usable UI the fastest?" I couldn't help but wonder, why people are not aware of all those other PHP UI frameworks? There are few, right? If you google...

Zend Framework 1.11.0 FINAL Released

Zend Framework 1.11.0 FINAL Released
The Zend Framework team is pleased to announce the immediate availability of the general access release of Zend Framework 1.11.0. This release is the culmination of several months of effort by contributors and Zend Framework partners, and offers several key new features, including support for mobile devices and the first stable release of the SimpleCloud API.

Zend Con - Day 1

Zend Con - Day 1
Had a great day. Sat in on the ZCE bootcamp (parts 1 & 2) and attended the speakers dinner. I have to admit that I am very rusty with my PHP, which is why I wanted to sit in on the ZCE Bootcamp. I figured if anything the bootcamp would at least remind me of all that I have forgotten - and it dida it was scary how much I have forgotten. Christian did a fantastic job, keeping what could have been bland, boring information interesting and engaging. He has some real brain ticklers in his deck that more then...

Web Builder Zone: 5 features of PHP that seem hacks, but save your life

Web Builder Zone: 5 features of PHP that seem hacks, but save your life
On the Web Builder Zone today there's a new article that talks about five things that, while they may seem like hacks in your development, they might come in very handy in the right situations.Ilia is one of the people that get his hands dirty in the PHP core, and PHP has indeed many overlooked features. [...] However, thinking about this load of features inspired me to write this article: I'll include here 5 features that at first seem an hack, but can save your life while coding in PHP. In fact, you...

Community News: Latest PECL Releases for 11.02.2010

Community News: Latest PECL Releases for 11.02.2010
Latest PECL Releases: CUBRID 8.3.0.0002 timezonedb 2010.15

Using the Digg API with PHP and PEAR

Using the Digg API with PHP and PEAR
Digg offers a Web service API that makes possible to develop customized applications on top of the base service. This API, currently in its second incarnation, allows access to a number of important Digg functions, including searching and commenting on Digg stories. This article takes a fast look at how to integrate Digg's Web service with a PHP application using the PEAR Services_Digg2 class.

Creative MVC: Meet the ViewModel Pattern

Creative MVC: Meet the ViewModel Pattern
In this article we will introduce a powerful new tool in the arsenal of developers - the ViewModel. This provides MVC applications a natural location for presentation logic and lazy functionality while maintaining the segregation between the layers of responsibility within the code. It allows designers access to data and methods they need, while hiding aspects that aren't needed at view level. The tried-and-tested Model-View-Controller (MVC) pattern has become the mainstay of Web applications...

PHP Quiz part 4

PHP Quiz part 4
It has been a while, but here is part 4 of the PHP Quiz series! A few questions to crack your brain about, or perhaps you know them all? Try them and find out! Also do read the idea behind these quizzes, here: The PHP Quiz seriesAs always, think of the answer before you execute the code or look it up. Codepad might help you run the examples. You can find round three here.AVisibility is keyNow you see me, now you don'tclass testClass {A A private $fubar = "rabuf";A A function test($test) {A A A A...

ZendCasts.com: Introducing Action Helpers

ZendCasts.com: Introducing Action Helpers
On ZendCasts.com there's a new screencast posted introducing you to the Zend Framework feature called "action helpers".A look at how Action Helpers can help you build controller-level-functionality without duplicating code.Action helpers allow you to, at runtime, push code into the processing of a controller to make changing the processing of your controllers simpler than changing its actual code. You can also find a good guide on getting the helpers working in the Zend Framework manual.

A Partial Review of aoTest-Driven JavaScript Developmenta

A Partial Review of aoTest-Driven JavaScript Developmenta
So ever since the fine folks at Addison Wesley sent over a copy of Test-Driven JavaScript Development (by Christian Johansen) I've been trying to wrap my head around a new sort of testing when it comes to web apps. I'm not even half-way through the book and I've already had my mind blown by advanced javascript and testing methods that I just never thought about when I work on my frontends. I'm a big fan of unit testing and promote it whenever I can - not only does it help create a code base that a better...

OnStartups.com: Why PHP Is Fun and Easy But Python Is Marriage Material

OnStartups.com: Why PHP Is Fun and Easy But Python Is Marriage Material
In a recent post from the OnStartups.com blog, there's an article from Dharmesh Shah about why "PHP is fun and easy but Python is marriage material" when it comes to building web-based applications.So, you might then be wondering, why switch away from PHP and move to Python now? Don't I have better things to do with my time? [...] Here are some of the tradeoffs (PHP wins on some fronts, Python in others), for those faced with the decision now. Note: The context here is a startup that is a bit further...

Staw Dogs Blog: PHP Sinatra Clones

Staw Dogs Blog: PHP Sinatra Clones
From the Straw Dogs blog there's a recent post looking at some of the PHP frameworks out there have the same kind of philosophy behind them as the Sinatra framework for Ruby - a small, light framework that's easy to use.I'm currently looking for a good PHP framework to do a new project. I recently used Kohana 3 at on a project for a client but I needed something lighter and having used Sinatra and Padrino previously but needing it PHP based I did the next natural step - searched for PHP Sinatra...

Lukas Smith's Blog: Symfony2 stuff

Lukas Smith's Blog: Symfony2 stuff
Lukas Smith has posted a look at some of the things that have been included in the latest revisions of the Symfony2 framework.Since about 4 weeks I have really started using Symfony2, in development for a work project no less. Kinda crazy seeing its still in pre-alpha phase, but I think its a great platform today and I know its going to be the best soon aka once we have a stable release. But in these 4 weeks quite a few things have popped up that I like to see addressed. Most things aren't really about...

Gonzalo Ayuso's Blog: Database connection pooling with PHP and gearman

Gonzalo Ayuso's Blog: Database connection pooling with PHP and gearman
Gonzalo Ayuso has a new post to his blog today looking at using the Gearman tool to pool database connections for his application and make them available for easy reuse.Handling Database connections with PHP is pretty straightforward. Just open database connection, perform the actions we need, and close it. There's a little problem. We cannot create a pool of database connections. We need to create the connection in every request. Create and destroy, again and again. [...] In this post I'm going to try...

Integrating WordPress with SendGrid for better email deliverability

Integrating WordPress with SendGrid for better email deliverability
I'd like to announce a new feature we're adding to all our hosting plans: integration with SendGrid .What? What is Sendgrid? Sendgrid is a service that helps us increase email deliverability, no longer do we, or you the customer need to worry about your outbound email servers being down. On top of that, you also get some really neat statistics, like the ones in the image attached to this post (real stats from our test run). (screenshot)Why? Some of our higher traffic websites and their membership systems...

PHPClasses.org: Lately in PHP Ep. 6 - Unusual Site Speedup Techniques, Named params & Annotations

PHPClasses.org: Lately in PHP Ep. 6 - Unusual Site Speedup Techniques, Named params & Annotations
On the PHPClasses.org site today they've posted the latest episode in their "Lately in PHP" podcast series - "Unusual Site Speedup Techniques debate, Named parameters and Annotations".In this episode, Manuel Lemos and Ernani Joppert discuss several unusual site speedup techniques presented in recent articles of the PHPClasses site blog. They also discuss the (non-)inclusion of new PHP features discussed by PHP core developers like having named parameters in function calls and the support of Java-like...

Community News: Latest PEAR Releases for 11.01.2010

Community News: Latest PEAR Releases for 11.01.2010
Latest PEAR Releases: Net_DNS 1.0.6 Net_CheckIP 1.2.2 HTTP_WebDAV_Client 1.0.1 Image_Barcode 1.1.1 HTML_TreeMenu 1.2.2 XML_GRDDL 0.1.2 Text_Wiki_Creole 1.0.2 Text_Wiki 1.2.1 Benchmark 1.2.8 Gtk_VarDump 1.0.1 Gtk_FileDrop 1.0.3 Console_Color 1.0.3 Structures_BibTex 1.0.0RC5 File_SearchReplace 1.1.4 PHP_LexerGenerator 0.4.0 Payment_Process2 0.3.1 Text_CAPTCHA 0.4.1 Mail_Queue 1.2.4 XML_RSS 1.0.1 XML_Serializer 0.20.1 HTML_Crypt 1.3.4 MIME_Type 1.2.1 PEAR_Frontend_Web 0.7.5 PHP_Parser_DocblockParser 0.1.1...

Be My Guest for DayCamp4Developers

Be My Guest for DayCamp4Developers
This weekend I'm presenting at DayCamp4Developers, a virtual event comprising a full day of workshops for developers of all disciplines to improve their soft skills and move forward in their career. I get to attend since I'm speaking, but even after I've given my slot I know I'll be online to watch the other talks and I know I'll learn something myself! I believe that, however good your technical skills are, being able to communicate effectively means the different between being the bearded expert in the...

Unusual Site Speedup Techniques debate, Named parameters and Annotations - Lately in PHP podcast episode 6

Unusual Site Speedup Techniques debate, Named parameters and Annotations - Lately in PHP podcast episode 6
Unusual Site Speedup Techniques debate, Named parameters and Annotations - Lately in PHP podcast episode 6 By Manuel Lemos In this episode, Manuel Lemos and Ernani Joppert discuss several unusual site speedup techniques presented in recent articles of the PHPClasses site blog. They also discuss the (non-)inclusion of new PHP features discussed by PHP core developers like having named parameters in function calls and the support of Java-like annotations in PHP code.