PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 3221 to 3240 of 6889

Community News: Pearhub.org Needs Your Help

Community News: Pearhub.org Needs Your Help
Christian Weiske has a quick post about a handy PEAR-related project that might be in risk of fading away - a plea for help with pearhub.org.Troels Knak-Nielsen, father of pearhub, wrote to the pear-dev mailing list: "Unfortunately I have absolutely no time at hand for this project and probably won't for a foreseeable time. I still think it fills a need, so I'd be happy to hand over the keys to anyone who will take it upon them to move the project forward. I'll try to assist as best as I can, but...

Matthew Weier O'Phinney's Blog: Using the ZF2 EventManager

Matthew Weier O'Phinney's Blog: Using the ZF2 EventManager
Matthew Weier O'Phinney, lead on the Zend Framework project, has a new post to his blog talking about the event manager in the Zend Framework, v2 and how to use it in a refectored version of a previous post.Earlier this year, I wrote about Aspects, Intercepting Filters, Signal Slots, and Events, in order to compare these similar approaches to handling both asychronous programming as well as handling cross-cutting application concerns in a cohesive way. I took the research I did for that article, and...

Sameer Borate's Blog: Functional programming with Underscore.php

Sameer Borate's Blog: Functional programming with Underscore.php
In a new post to his blog Sameer Borate looks at using the Underscore.php library to do a little functional programming in PHP. Underscrore.phpis a PHP port of Underscrore.js.Underscore.php provides a utility library for PHP that provides a lot of the functional programming support that a programmer would expect in Ruby, but without adding much overhead during execution. The only caveat is that underscore.php requires PHP 5.3 or greater. Although you could accomplish some of the things using PHP's built...

aY Suggestions for a younger developer

aY Suggestions for a younger developer
Every now and then, I get asked by developers who are just getting started in the trade if I have any suggestions to help them out-favourite language, tips and tricks, and the like. None of these things matter, really, but there are a few things I wish I had known when I started out that have nothing to do with the mechanics of software development.1. Be humbleYou just finished college with full marks. You know hundreds of algorithms backwards. You've read Don Knuth's seminal programming series...

Community News: Latest PECL Releases for 09.13.2011

Community News: Latest PECL Releases for 09.13.2011
Latest PECL Releases: amqp 0.3.1 timezonedb 2011.10

pearhub up for adoption

pearhub up for adoption
Troels Knak-Nielsen, father of pearhub, wrote to the pear-dev mailing list: Hi, I launched pearhub.org a year and a half back and it has been running fairly nicely since. There are however a number of minor bugs and I'm getting various (quite reasonable) requests to better these about one a week. On top of this, the current server is about to die, so the project needs to move off to a different platform. Unfortunately I have absolutely no time at hand for this project and probably...

Protecting against XSS

Protecting against XSS
The problem as I see it Where to start? Let me start by telling you that most of the books you read are wrong. The code samples you copy of the internet to do a specific task are wrong (the wrong way to handle a GET request), the function you copied from that work colleague who in turn copied from a forum is wrong (the wrong way to handle redirects). Start to question everything. Maybe this blog post is wrong this is the kind of mindset you require in order to protect your sites from XSS. You as a...

Still in love - PHP Unconference 2011 (Hamburg)

Still in love - PHP Unconference 2011 (Hamburg)
After five years I am still in love with the PHP Unconference Hamburg (Germany), which took place last weekend. On Saturday morning I was as thrilled as if I was going to the first date with a person I had just fallen in love to. Facts: 200 tickets sold in 20 minutes! 350 tickets sold in total, 280 attending. One can't compare this pure madness with any german PHP (un)conference I have presented at during the past 11 years. The continued success of this local german event makes me break my own tradition...

Using the ZF2 EventManager

Earlier this year, I wrote about Aspects, Intercepting Filters, Signal Slots, and Events, in order to compare these similar approaches to handling both asychronous programming as well as handling cross-cutting application concerns in a cohesive way. I took the research I did for that article, and applied it to what was then a "SignalSlot" implementation within Zend Framework 2, and refactored that work into a new "EventManager" component. This article is intended to get you up and running with it....

Phing addition: pearPackageFileSet

Phing addition: pearPackageFileSet
SemanticScuttle will be distributed as .phar file with the next version. The command line interface uses PEAR's awesome Console_CommandLine package, which needs to be packaged up in the Phar file to make it work out of the box. I let Phing handle all of the deployment of new versions, and generating the Phar file is handled by Phing, too. In general, adding files to a .phar is easy, even a bunch of PEAR installed files: Put their absolute locations in a tag and you're set....

NetTuts.com: How to Upload Files with CodeIgniter and AJAX

NetTuts.com: How to Upload Files with CodeIgniter and AJAX
New from NetTuts.com today there's a tutorial for those using the CodeIgniter framework for their application. It shows how to upload files with Ajax and a simple form (with jQuery and AjaxFileUpload).Uploading files asnychronously can be a pain at the best of times, but when coupled with CodeIgniter, it can be a particularly frustrating experience. I finally found a way that not only works consistently, but keeps to the MVC pattern.They help you create a database table to store the file information in...

Hasin Hayder's Blog: RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library

Hasin Hayder's Blog: RSA Encrypting and Decrypting data with Zend_Crypt_Rsa Library
Hasin Hayder has recently posted a tutorial to his blog showing how to use the Zend_Crypt_Rsa library for encrypting/decrytping data in a Zend Framework application.Public/private key based encryption is very popular because of the strength it sets in encryption, specially above 1024 bits. Now there are external library to encrypt data using RSA encryption like RSA in phpclasses.org - the fun is we were also using this library in one of our ZF based project. But last week I've found that there is a...

Juozas Kaziukenas' Blog: Dependencies management in PHP projects

Juozas Kaziukenas' Blog: Dependencies management in PHP projects
In his latest post to his Web Species blog Juozas Kaziukenas looks at dependency management in PHP applications and offers a few suggestions of how you can make them easier to track.Rarely a project lives by itself, especially in the days of frameworks. Furthermore, there are a lot of great open source libraries you might want to use to save time. But all of this raises a new problem - how could we manage all those dependencies. Here are some thoughts on this problem and how you might want to solve it;...

Federico Cargnelutti's Blog: Building a RESTful Web API with PHP and Apify

Federico Cargnelutti's Blog: Building a RESTful Web API with PHP and Apify
Federico Cargnelutt has a new post to his blog showing you how to create a REST API for your site using the Apify (complete with a shiny new 1.0 release).Web services are a great way to extend your web application, however, adding a web API to an existing web application can be a tedious and time-consuming task. Apify takes certain common patterns found in most web services and abstracts them so that you can quickly write web APIs without having to write too much code.Some code snippets are included to...

SitePoint Podcast: #129: Taking PHP to the Next Level with Lorna Mitchell

SitePoint Podcast: #129: Taking PHP to the Next Level with Lorna Mitchell
On the SitePoint podcast, there's a new episode with Lorna Mitchell where she and host Louis Simoneau talk about taking your PHP to the next level, some of her work in Open Source and her involvement in their upcoming advanced PHP book.Episode 129 of The SitePoint Podcast is now available! This week our regular interview host Louis Simoneau (@rssaddict) interviews Lorna Mitchell (@Lornajane) one of a team of 3 co-authors working on an upcoming release for SitePoint, an advanced book on PHP.You can either...

Community News: Latest PEAR Releases for 09.12.2011

Community News: Latest PEAR Releases for 09.12.2011
Latest PEAR Releases: MIME_Type 1.3.0 HTML_Template_PHPLIB 1.5.1 HTML_Page2 0.6.1beta HTML_Page2 0.6.2

PHPBenelux 2012

PHPBenelux 2012
The PHPBenelux Conference is ready for its third edition and takes place January 27th & 28th in Antwerp (Belgium). We're calling for papers until October 15th and we're very much looking forward to your submissions. These are the topics we're aiming for: Content Management Systems Cloud NoSQL Analytics Frameworks Best practises General and in depth programming skills HTML5 & co (with a PHP twist) All information about the conference and the CFP can be found on our conference...

GObject Introspection is coming to Node.js

GObject Introspection is coming to Node.js
GObject Introspection (GIR) is a way to create automatic bindings to GNOME libraries for various different programming languages. I've written before about the benefits of bringing GIR to PHP, and now it seems something similar is happening on Node.js. node-gir has been written by Tim Caswell, with help from Sebastian Wick and Piotr Pokora.I've been following the progress for a while, and today, during a flight from Helsinki to Salzburg, I was finally able to open a Midgard repository connection with it....

Embrace and extend

Embrace and extend
I'm getting worried about Google. Long one of the champions of the open web alongside Mozilla, the rise of social networking silos and the app economy seem to have scared them. And like any scared organism, they lash out. Many of their plans to make web competitive against native development environments are good, there is indeed much to improve in the stack. But what I'm uneasy with is the unilateral way they go about it, preferring "big reveals" and post-facto standardization instead of the open...

Building a RESTful Web API with PHP and Apify

Building a RESTful Web API with PHP and Apify
Today, it is my pleasure to announce the release of Apify 1.0. You can download this release from GitHub. Thanks to everyone who has contributed to this release in any way. Apify is a small and powerful open source library that delivers new levels of developer productivity by simplifying the creation of RESTful architectures. You can see it in action here. Web services are a great way to extend your web application, however, adding a web API to an existing web application can be a tedious and...

Latest PHP Tweets