PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 2881 to 2900 of 6889

Henri Bergius' Blog: DNode: Make PHP And Node.Js Talk To Each Other

Henri Bergius' Blog: DNode: Make PHP And Node.Js Talk To Each Other
Henri Bergius has a new post to his blog today sharing details about a messaging protocol that can help PHP and Node.js play together nicely - DNode.Both environments have their strong points. Node.js is very fast and flexible, but PHP has a lot more mature tools and libraries available. So in a lot of projects it is hard to choose between the two. But now you might not have to. DNode is a remote method invocation protocol originally written for Node.js, as the name probably tells. But as the protocol...

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 1

PHPMaster.com: Localizing PHP Applications "The Right Way", Part 1
PHPMaster.com has a new tutorial sharing what they call the right way for localizing PHP applications with the help of PHP's gettext functionality.Localizing software applications in general used to be a cumbersome and error-prone task resulting in a lot of messy code. Some developers even use different versions of code for the same application but for different locales, which makes managing the codebase practically impossible. Enter gettext, the wonderful open-source tool that will make your life easier...

Community News: Latest PEAR Releases for 10.31.2011

Community News: Latest PEAR Releases for 10.31.2011
Latest PEAR Releases: Net_LDAP2 2.0.12 File_IMC 0.4.3

PHP 5.4 Release Date, PHP-GTK Apps Running on a Web Browser - Lately in PHP podcast episode 17

PHP 5.4 Release Date, PHP-GTK Apps Running on a Web Browser - Lately in PHP podcast episode 17
PHP 5.4 Release Date, PHP-GTK Apps Running on a Web Browser - Lately in PHP podcast episode 17 By Manuel Lemos PHP 5.4 beta 2 was just released, so the final version of 5.4.0 is coming soon. Many PHP Developers want to know when it will be the final PHP 5.4 release date. Manuel Lemos and Ernani Joppert talk about this and other interesting PHP related topics in episode 17 of the Lately in PHP podcast. The other topics they cover are about the possibility to serve PHP-GTK applications over the Web, the...

DNode: Make PHP and Node.js talk to each other

DNode: Make PHP and Node.js talk to each other
If you've been following my blog, you might have noticed that lately I've started doing quite a lot of Node.js development alongside PHP. Based on conversations I've had in various conferences, I'm by far not alone in this situation - using Node.js for real-time functionality, and PHP (or Django, or Rails) for the more traditional CRUD stuff. Both environments have their strong points. Node.js is very fast and flexible, but PHP has a lot more mature tools and libraries available. So in a lot of projects...

Newly stable packages in PEAR

Newly stable packages in PEAR
We've had 60 releases since July. While most are often minor improvements or bug fixes; a number of packages really stand out. Net_DNS2, and HTTP_Request2. Each of these packages represents the second edition of their respective APIs; each having been honed over time to a point of stability. If you have an existing project using Net_DNS or HTTP_Request; it is highly recommended you evaluate these new stable releases.

The power plug metaphor

The power plug metaphor
Was talking with my dad about Hermann's blog post today, where I propose the following metaphor: Interfaces are exactly like wall sockets. Would you say that having the same wall sockets has stifled innovation? Would you say its a good thing that we have different plugs in different regions of the world? HavenA't we still seen people work on different ways to get power into wall sockets and different types of machines using the power coming out? Also look at stuff like these twist sockets for additional...

Expecting the unexpected with Good-Turing

Expecting the unexpected with Good-Turing
A lot of interesting techniques involve taking statistical samples, and using those to predict what we'll see in the future. Usually this works pretty well, but when we're dealing with a lot of options or if we have some options that are very rare that approach can go pretty wrong. If we go down the street and note down how many men and women we see, we'll probably be able to use that to predict the chance of the next person we see being male or female pretty well. However, if we were counting all the...

Auth checks and varnish

Auth checks and varnish
These days everybody seems to be using Varnish to speed up their site. Things are quite simple until you have to do authentication. IIRC it was my co-worker Stefan Paschke who come up with a nice and simply solution to the dilemma that while you may have some content cached in Varnish, you still need to figure out if you can serve the content. The solution is as always by leveraging the HTTP specification. When we need to serve protected content, we simply turn GET requests into HEAD requests, send them...

Community News: ZendCon 2011 Wrap-ups (from a Speaker & Zend)

Community News: ZendCon 2011 Wrap-ups (from a Speaker & Zend)
Two recent summaries of this year's Zend/PHP Conference have been posted - one from an attendee and speaker, another from a member of the Zend team.In his post Joshua talks about the conference in general - the quality of the talks he went to and the community he experienced while there. He also mentions his presentation, "Puppet for Dummies" and some sessions from the Unconference.Andi Gutmans, CEO of Zend adds his perspective and mentions some of the new technologies that were introduced during the...

Ibuildings techPortal: PHPNW11 Conference Report - Part II

Ibuildings techPortal: PHPNW11 Conference Report - Part II
On the Ibuildings techPortal Marco De Bortoli has posted the second part of his summary of this year's PHP North West conference (you can find the first part here). In this part he briefly discusses the tutorial day and the main conference, including the sessions he attended.This was a very social event from day one, warm and funny with a horde of geeks trying to mix with "normal people" (yes, that can happen if you attend the PHPNW conference, so try not to miss it next year). The best thing about PHP...

XpertDeveloper.com: Abstract in PHP

XpertDeveloper.com: Abstract in PHP
On the XpertDeveloper.com site today there's a new tutorial talking about something that can not only help the structure of your application but can make things more reusable in the end - abstract classes.For Abstact keyword we can say that, abstract is type of the class and class which we can't create a object of it. Surprised???? [...] Abstract class can be used some what like an interface in PHP. So basically we can implement class using abstract. We can't extend more than one abstract class while we...

WPML: icl_object_id() and custom post types

WPML: icl_object_id() and custom post types
Digressing from my usual grounds, I moonlighted a bit on a Wordpress project in September. One of the project's goals was to make the entire website bi-lingual: French and German (or the way around?). And once multi-lingual is an object, WPML is the plugin to use (as far as Wordpress is concerned). WMPL in a nutshellWPML is a commercial plugin - and as far as I am concerned: it's money well spend.In case there's not a lot customization going, WPML works out of the box. For those digging a little deeper,...

DZone.com: Closure Object Binding in PHP 5.4

DZone.com: Closure Object Binding in PHP 5.4
In a new post to DZone.com Mitchell Pronschinske looks at closure object binding in PHP 5.4 applications (yes, we know PHP 5.4 isn't released yet). He explains what this is an shows some sample use cases for you to consider in your development.For the people who read PHP's NEWS file, it's no surprise - but for all who don't here's is probably one of the biggest features of PHP 5.4: Closure Object Support is back. For me it's something I missed the most, when Closures were introduced in PHP 5.3. So I'm...

Site News: Popular Posts for the Week of 10.28.2011

Site News: Popular Posts for the Week of 10.28.2011
Popular posts from PHPDeveloper.org for the past week:SitePoint Blog: Book Release - "PHP Master: Write Cutting-Edge PHP Code" Community News: CakePHP 2.0 Released (with some Major Changes) DZone.com: PHP 5.4 Will Have a Built-in Web Server Adam Patterson's Blog: DIY simple staging server. Fabien Potencier's Blog: What is Symfony2? Brian Swan's Blog: Using SQL Azure to Store PHP Session Data Script-Tutorials.com: Creating a Smooth Curve Graphs with PHP and GD User Group: New York PHP (Oct 25th @ 6:30pm)...

PHPCon Poland: Conference Report

PHPCon Poland: Conference Report
At the weekend (yes, this took all week to write), I was on my first ever visit to Poland, in order to speak at PHPCon Poland. They contacted me early in the year to ask if I would consider going along to give my talk Teach a Man to Fish. Since I'm not much of a traveller, I'll confess that I hesitated before accepting the invitation. I normally try not to travel much at all, particularly outside of the UK, so Poland seemed like a big step. That said, it isn't often that I get invited to speak, usually I...

Joshua Thijssen's Blog: LAMP-stack? Forget it! It's a LAMPGMVNMCSTRAH-stack now...

Joshua Thijssen's Blog: LAMP-stack? Forget it! It's a LAMPGMVNMCSTRAH-stack now...
These days there's much more involved in making a good, solid web application than just the platform you serve from. Joshua Thijssen knows this and humorously points it out in a new post about a "LAMPGMVNMCSTRAH-stack" (that's fifteen different technologies for those counting).Back in the good old days - and in internet-time, this actually means just a few years ago - people were quite happy with their LAMP stack: Linux, Apache, MySQL and PHP. With this quartet, or a variation on it like PostgreSQL...

Padraic Brady's Blog: Interfacing The PHP World Would Be Good

Padraic Brady's Blog: Interfacing The PHP World Would Be Good
Padraic Brady has posted his own response to some of the recent talk about making standard interfaces in PHP applications. His perspective focuses on interfaces and coupling as related to the Zend Framework.Every PHP framework has it's own unique set of interfaces for common operations such as logging, caching, http clients, filtering, validation, etc. This creates a situation where a framework tends to be loosely coupled but only within the scope of its own interfaces. [...] Loose coupling is therefore...

PHP.net: PHP 5.4 beta2 released

PHP.net: PHP 5.4 beta2 released
The PHP.net site has a new announcement about the latest version of the language in the PHP 5.4.x series - beta 2 has been released for testing.The PHP development team is proud to announce the second beta release of PHP 5.4. PHP 5.4 includes new language features and removes several legacy (deprecated) behaviours. Windows binaries can be downloaded from the Windows QA site. [...] Please help us to identify bugs by testing new features and looking for unintended backward compatibility breaks, so we can...

PHPClasses.org: Using PHP-GTK to serve Web Applications to HTML 5 Browsers

PHPClasses.org: Using PHP-GTK to serve Web Applications to HTML 5 Browsers
On the PHPClasses.org blog today there's a new post showing how you can use PHP-GTK to generate websites, not just the more traditional desktop applications people associate it with.es, you read it right, GTK+, the Gnome Toolkit library, normally used to create desktop applications, can now be used to serve the same applications via the Web to a browser that supports HTML 5 canvas objects. PHP-GTK is a PHP extension that uses the GTK+ library to build PHP desktop applications. So it can eventually...

Latest PHP Tweets