PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 2681 to 2700 of 6889

Joshua Thijssen's Blog: Compatible code: starting with symfony2

Joshua Thijssen's Blog: Compatible code: starting with symfony2
In a new post to his blog, Joshua Thijssen documents some of his first steps into the world of the Symfony2 framework (as a developer who has lived mostly in a Zend Framework/CodeIgniter world). His post doesn't compare the frameworks, it's just his discovery along the way.A friend of mine who is a big supporter of Symfony told me to give Symfony1 a shot. Off course I was skeptical since I knew less about symfony1 than I did on Zend_Tool. That, plus the fact we needed to autoload, bootstrap and get two...

Jake Smith's Blog: Callback Filter Iterator in PHP 5.3/5.4

Jake Smith's Blog: Callback Filter Iterator in PHP 5.3/5.4
Jake Smith has a new post to his blog today about a feature included in PHP's Standard PHP Library that you might have overlooked - the FilterIterator's callback functionality.The Filter Iterator is probably my second favorite iterator, next to Directory Iterator. There are many great use cases for the Filter Iterator, and when you do filter the original data is left untouched. A Filter Iterator is really simple to use, create a class that extends FilterIterator and adjust the accept method to meet your...

Site News: Popular Posts for the Week of 12.02.2011

Site News: Popular Posts for the Week of 12.02.2011
Popular posts from PHPDeveloper.org for the past week:PHPMaster.com: Localizing PHP Applications "The Right Way", Part 5 AjaxRay.com: The first Kohana book : Kohana 3.0 Beginner's Guide Volker Dusch's Blog: Textual code coverage information for PHPUnit Richard Miller's Blog: Symfony2: Integrating elasticsearch Gonzalo Ayuso's Blog: Playing with the new PHP5.4 features DZone.com: Speed Up Your PHP Like Facebook Karsten Deubert's Blog: Zend_MVC, Controller Plugins and Annotations PHPMaster.com:...

More Than Just Style

More Than Just Style
PHP CodeSniffer is a wonderfully simple tool for implementing and enforcing a coding standard. The basic installation comes with a handful of existing coding standards, like PEAR. One can easily cobble together a coding standard with a subset of sniffs from any of the existing coding standards. It's even fairly simple to write your own sniffs in the event an existing sniff just isn't quite right. Coding standards can be controversial on many levels. Many have argued over which existing standard to use....

Andrew Eddie's Blog: Making the most out of Code Assist in Eclipse/PDT and Zend Studio for PHP

Andrew Eddie's Blog: Making the most out of Code Assist in Eclipse/PDT and Zend Studio for PHP
Andrew Eddie has posted a helpful tutorial for Eclipse users out there showing how to get the most our of code assist in Eclipse PDT/Zend Studio.One of the powerful features of an IDE like Eclipse is the ability for it to "read" your code and give you some assistance about your API as you type. This could include things like class property or methods names, constants, functions, argument lists, and so on. Eclipse/PDT and ZendStudio do this by parsing a PHP class directly, but they also look at your...

PHPBuilder.com: Talking to GitHub with PHP

PHPBuilder.com: Talking to GitHub with PHP
PHPBuilder.com has a new tutorial posted about interfacing with GitHub in PHP, using their API to hook into and pull down information about users and repositories.The Git-based project hosting service GitHub is certainly the belle of today's technology ball, having attracted more than 1 million registered users and amassed more than 2 million hosted projects in less than three years. [...] GitHub High Scores and GitHub Badges are two examples of third-party services created using the GitHub API, which is...

DevShed: Handling File Data with PHP (Reading & Seeking)

DevShed: Handling File Data with PHP (Reading & Seeking)
DevShed has posted the fifth part of their "handling files in PHP" tutorial series today (excerpted from the book "Beginning PHP and PostgreSQL 8: From Novice to Professional") with a focus on read from multiple places in a file to get to different data.In this fifth part of an eight-part series on working with file and operating systems with PHP, you'll learn how to read data from a file and move the file pointer.Example code is included showing how to use the file, file_get_contents, fgetc, fgetcsv,...

Tales of a Coder: DocBlox - Pain Free Documentation

Tales of a Coder: DocBlox - Pain Free Documentation
On the Tales of a Coder blog there's a recent post about DocBlox, an alternative to the usual phpDocumentor for generating automatic documentation, and how it made it "pain free" for his current project.Want to generate documentation for your PHP project, but keep putting it off? Can't be bothered wading thigh deep in documentation, screaming WHY WON'T IT WORK as you try to set it up? Look no further. DocBlox is pain free and you'll be up and running, literally in a few minutes.He includes a guide to...

PHPMaster.com: Defining and Using Functions in PHP

PHPMaster.com: Defining and Using Functions in PHP
PHPMaster.com has a new article for those new to the PHP language posted this morning - an introduction to using functions and making your code more reusable.Let's start by defining the word "function." A function is a self-contained piece of code which carries out a particular task (or function!). A key benefit of using functions is that they are reusable; if you have a task that needs to be performed a number of times, a function is an ideal solution. They can be either defined by you or by PHP (PHP...

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:Dave Marshall's Blog: Notes from porting ruby to php CodeIgniter.com: CodeIgniter in 2011: Reactor, Core, & UserVoice Christoph Dorn's Blog: FirePHP 1.0 in 5 Steps Label Media Blog: Design Patterns in PHP - Strategy Pattern Satya Prakash's Blog: PHP is not Java Community News: PHP Unconference Europe 2011 OpenSky Blog: Inheritance in PHP, or why you want to use an Interface or an Abstract class... Richard Smaizys' Blog: Improve your code...

The Debate on Remote Work for Web Developers - Lately in PHP podcast episode 18

The Debate on Remote Work for Web Developers - Lately in PHP podcast episode 18
The Debate on Remote Work for Web Developers - Lately in PHP podcast episode 18 By Manuel Lemos The recently published article on attracting talented Web developers by offering remote job positions raised an interesting debate on the challenges, advantages and disadvantages of this way of working. This debate was the main topic of discussion of the episode 18 of the Lately in PHP podcast with Manuel Lemos and Ernani Joppert, who were joined by CAsar Rodas. CAsar is a top PHPClasses contributor that has...

Because It's Fun!

Because It's Fun!
Twelve years ago, computers were a mystery to me, but a friend of mine showed me how I could just go down to the computer parts store, pick out a motherboard, CPU, RAM, hard drive, power supply, &c., and put it together myself. It was so empowering! Those mysterious black boxes that our lives depend on were one step less mysterious. I learned how to download Linux and install it myself for freea-athen, FreeBSD and OpenBSD. Then, I was building my own servers. Now, the whole web server/Internet thing was...

Gimme Bar+TwitterFeed+PHP = One-click Syndication

Gimme Bar+TwitterFeed+PHP = One-click Syndication
I recently set up a new Twitter account that shares links to some of the smaller stories I come across in my news reading for PHPDeveloper.org called @phpquickfix. I recently had started playing with Gimme Bar more and wondered how easy it'd be to set it up as a backend repository for some links. Thanks to some hints from other blog posts, it was super easy to set up a aoone click syndicationa system that combines Gimme Bar, Twitterfeed and a little bit of PHP. Here's how it's set up: I have an account...

Community News: ConFoo 2012 Early Bird Tickets On Sale!

Community News: ConFoo 2012 Early Bird Tickets On Sale!
The ConFoo conference has officially announced the opening of Early Bird registrations for their 2012 event (happening in Montreal February 29th through March 2nd).When? February 29 - March 02, 2012. Where? Hilton Bonaventure Hotel, Montreal downtown. How much? $600 (instead of $800). This rate is valid if you order before January 13, 2012.You can order your ticket today in a variety of flavors - just a conference pass or conference plus a tutorial - either Advanced PHP, Security (both in French and...

Tom Schlick's Blog: Wrench for FuelPHP

Tom Schlick's Blog: Wrench for FuelPHP
Tom Schlick has a new post to his blog talking about a tool he's written for FuelPHP-based applications called Wrench. It's a command-line tool to make taking your site "offline" simpler.If you have been following what I've been up to lately you would see that many of my recent projects are based on FuelPHP. Since Fuel is so awesome and allows you to create "packages" that can be dropped into your application, I have created a few that help me quickly piece together apps. The first package I'm...

Developer Drive: PHP User Survey: Setting Variable Values and Reading from Tables

Developer Drive: PHP User Survey: Setting Variable Values and Reading from Tables
The Developer Drive blog has the latest post in their "PHP User Survey" series focusing on setting up admin functionality for the poll managers to use.In Part I of this series, we started the process of creating user polls for a business web site. Part I gave the layout of the data layer and began the construction of the class file. In this part we will continue with adding methods to the class file that will enable the administrator to set the variable values and read from the database tables.Code is...

Bradley Holt's Blog: The Twelve-Factor App Applied to PHP

Bradley Holt's Blog: The Twelve-Factor App Applied to PHP
Recently a site called The Twelve Factor App surfaced as a guideline for web applications to be at their best. Bradley Holt has taken these suggestions and has applied them to PHP applications in a few quick comments to each point.If you develop web apps, I encourage you to check out The Twelve-Factor App. This is an excellent resource for anyone building and deploying software-as-a-service. PHP has great support for many of the twelve-factors. I want to take a look at specifically how each factor may be...

PHPClasses.org: Talented Web Developers Are Easy to Hire, Employers Are Just Not Looking Right

PHPClasses.org: Talented Web Developers Are Easy to Hire, Employers Are Just Not Looking Right
A new post on the PHPClasses blog today suggests that good, talented web developers are actually pretty easy to find, you just have to look in the right places.Once in a while, we hear company managers and recruiters complaining about how hard is to find talented Web developers that are willing work for them. The problem is that they are not looking right. Not only there are plenty of talented Web developers out there, they are easy to find, and many of them are available for hire.The key point in his...

Community News: Zagreb PHP User Group December 2011 Meeting - 13th @ 6pm

Community News: Zagreb PHP User Group December 2011 Meeting - 13th @ 6pm
Miro has submitted some information about the latest meeting of the Zagreb PHP User Group happening December 13th at 6pm in the Multimedia Institute:Although Zagreb PHP Meetup started only 3 months ago with monthly meetups (up to 30 developers coming), our next meeting will be first meetup with organized talks. December meetup will have 5 talks with themes like 'How to write readable code?', 'Flex & PHP development', 'Introduction to test driven development' && 'MySQL - explain explained'.We would like...

How to manage cache permissions in Symfony2

How to manage cache permissions in Symfony2
I guess in the Symfony2 world, we all know the following problem: We have a running Symfony2 installation we already accessed in the browser. Now we want to use the Symfony2 console to run a command and *BANG* we get an exception. The problem is, that the cache directory is not writable by the command line user. Now the usual reaction is "let's just set the access rights to 777", which solves the problem for the moment. But of course it will return, once the command line user wants to access another...

Latest PHP Tweets