PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
PhpRiot Latest Blog Posts
Displaying blog posts 21 to 40 of 144

Xmodmap for quick PHP programming in Linux

Xmodmap for quick PHP programming in Linux
When I program Clojure and PicoLisp I use Emacs and it's the way things are done in Emacs which inspired me to looking into making myself more productive doing PHP in Eclipse.... Read More

Community News: Zend Framework Green ElePHPants for Pre-Order

Community News: Zend Framework Green ElePHPants for Pre-Order
If you've been around the PHP community for any length of time, chances are you've seen the ElePHPant stuffed animals that have been floating around conferences and living on developers' desks. Well, the Zend Framework has decided to create some of their own - a more green variety. Pádraic Brady has posted about them.Blue PHP ElePHPant plush toys are so yesterday. Ben Scholzen (you might know him as DASPRiD on IRC/Twitter) is now taking pre-orders for green Zend Framework ElePHPants. Yes, they are...

Not only SQL injection: I don't trust you!

Not only SQL injection: I don't trust you!
Never trust user input! Injection is a threat . You are the new web developer, aren't you?. Never trust user input is the first rule I had to learn as a web developer in anchient times. Injection can happen whenever user input is interpreted or used to compose ...

ScreenFony.com: Work with bootstrap, assetic and less

ScreenFony.com: Work with bootstrap, assetic and less
On the ScreenFony.com site there's a quick tutorial showing you how to get started with Symfony2+Twitter Bootstrap+Assetic+LESS in a basic application. Assetic is a library that helps with asset management and use and LESS is a CSS pre-processor that makes it simpler to work with your site's CSS.Bootstrap is a well known and powerful front-end framework for fast prototyping, it uses LESS and it can be easily integrate in your Symfony applications with the help of assetic. In this post I'll show how to:...

Zend Framework ElePHPants Available to Pre-Order - They're Green!

Zend Framework ElePHPants Available to Pre-Order - They're Green!
Blue PHP ElePHPant plush toys are so yesterday. Ben Scholzen (you might know him as DASPRiD on IRC/Twitter) is now taking pre-orders for green Zend Framework ElePHPants. Yes, they are green. Yes, they have aoZFa printed on them. No, they are not a repository of Zend Framework knowledge. We tried really hard, but Intel insists that magical toys from the future are not real. Thank you for getting my hopes up, Mimzi. Stupid rabbit. Ben needs to reach a minimum production order of 1000 small ZF...

LearnComputer.com: Sending Text Messages with PHP

LearnComputer.com: Sending Text Messages with PHP
In this new tutorial on LearnComputer.com, they show you how to, using a simple call to PHP's mail function, you can send a text message to anyone.Text messaging seems more convenient than making phone calls and creating your own PHP script to send these messages is a very easy thing to set up. Get on board with these other companies that have found how convenient text messages are for their customer and start integrating text messaging into your PHP applications. In this article, I will show you two...

PHPMaster.com: Overriding Strategy Logic - The Template Method Pattern

PHPMaster.com: Overriding Strategy Logic - The Template Method Pattern
On PHPMaster.com there's a new tutorial posted talking about the Template Method Pattern to help make some sense (and make easier to use) your implementation of the Strategy pattern.This bring us back to the question whether it's feasible to eliminate duplicated strategy logic via Inheritance rather than switching over to plain Composition. Indeed it is, and the clean up process can be conducted through an ubiquitous pattern known as Template Method. [...] Simply put, there's a base class (usually an...

Community News: Latest PECL Releases for 09.25.2012

Community News: Latest PECL Releases for 09.25.2012
Latest PECL Releases: memcache 3.0.7 memcache 2.2.7 taint 1.1.0 gearman 1.1.0

Making Create.js more international

Making Create.js more international
We're now making good progress at releasing the big 1.0 of Create.js soon. The various CMS integrations - from Symfony CMF to TYPO3, and possibly Drupal and many others - have brought us a lot of new features and bug fixes, and will ensure a wide international audience for this inline editing toolkit. To make things nice for the users, it is also important that Create.js speaks their language. For this, I recently implemented localization features into the system. This actually shows the power social...

Engine Yard: Chicks That Rip Podcast: Interview with Beth Tucker Long

Engine Yard: Chicks That Rip Podcast: Interview with Beth Tucker Long
Engine Yard has posted their latest "Chicks That Rip" podcast episode, hosted by Elizabeth Naramore - an interview with Beth Tucker Long, the Editor of php|architect magazine. This podcast highlights women in technology in multiple communities across the web.In the interview they talk about Beth and the work she does for php|architect, what her own favorite part of the job is and how she manages the responsibilities of working and being a parent at the same time.You can listen to this latest episode...

Gonzalo Ayuso: The reason why singleton is a "problem" with PHPUnit

Gonzalo Ayuso: The reason why singleton is a "problem" with PHPUnit
Gonzalo Ayuso has a new post that responds to the idea that "singletons are a problem when testing" your applications with something like PHPUnit.Maybe this pattern is not as useful as it is in J2EE world. With PHP everything dies within each request, so we cannot persist our instances between requests (without any persistent mechanism such as databases, memcached or external servers). But at least in PHP we can share the same instance, with this pattern, in our script.He illustrates a bad side effect of...

PHPWomen.org: One way to handle concurrency in a multi-user web app

PHPWomen.org: One way to handle concurrency in a multi-user web app
In this new post to the PHPWomen site, Kim Rowan shows one way that you can effectively handle concurrency in your applications (in her case, a Symfony app).Concurrent user activity on the web can take many forms. For example, two online shoppers may simultaneously try to buy the last pair of 'gotta-have-em' shoes in stock. Presumably one potential outcome in this scenario is to place the shoes on back-order for the slower shopper. The concurrency challenge I faced recently, however, was a bit...

Scott Mattocks: L is for Logging (LUCID)

Scott Mattocks: L is for Logging (LUCID)
Scott Mattocks has started off his series about the LUCID development methodology (one he recently proposed) with the first article covering "L" for Logging.Communication is the only way you can tell if an application is feeling well or is about to fall apart. If your application can't talk to you, you have no way of helping it to feel better. The L in LUCID is for logging. Logs are how applications speak. They capture information that allows us to pick up on those little signs and act early enough to...

7PHP.com: Interview with Eli White, CTO of Musketeers.me

7PHP.com: Interview with Eli White, CTO of Musketeers.me
On the 7php.com site today they've posted the latest PHP community member interview - this time it's with Eli White, the CTO of Musketeers.me (the group behind MojoLive).In this edition I talked with [Eli White @EliW], who is currently the Founding Partner and Chief Technical Officer Of Musketeers.me - a consulting firm. Eli was previously the CTO at the social career management platform known as mojoLive and has been working for numerous famous high profile web projects, namely Digg and TripAdvisor...

Community News: Latest PEAR Releases for 09.24.2012

Community News: Latest PEAR Releases for 09.24.2012
Latest PEAR Releases: Services_Libravatar 0.2.2 Net_DNS2 1.2.4

Building a Custom WordPress Website from Scratch

Building a Custom WordPress Website from Scratch
We all know WordPress has grown to a mature content management system these days. There are several great WordPressAthemes you can use to build aAprofessionalAcorporate website. You are not limited to creating a magazine or blog site if you choose WordPress as your CMS. A few days ago I launched my company's website at finalwebsites.nl [...]

Improving Where's it Up by slowing it down

Improving Where's it Up by slowing it down
One of the common complaints with Where's it Up has been that the results are only available for a few minutes. A link you get now will only work for a little while before being useless. While this fits in with its design goal of telling you if something is up right now, it tends to be less useful in real life. As an example, I run a work URL through the system, see some anomalous results, and send the link to a co-worker. That co-worker happens to be in the middle of rocking out to a killer drum solo on...

PHPMaster.com: Building Your Own URL Shortener

PHPMaster.com: Building Your Own URL Shortener
On PHPMaster.com today, there's a new tutorial walking you through the creation of a URL shortner - a simple tool that can be used to compact URLs into something easier to manage (and more friendly with services like Twitter).Most of us are familiar with seeing URLs like bit.ly or t.co on our Twitter or Facebook feeds. These are examples of shortened URLs, which are a short alias or pointer to a longer page link. [...] In this article you'll learn how to create a fully functional URL shortener for your...

Michael Maclean: Why one-line installers are a bad idea

Michael Maclean: Why one-line installers are a bad idea
There's a feature that's usage has been showing up more and more in software projects (both open source and not) that allows you to install their system with a single line command, usually involving curl and maybe piping it to a shell. In this recent post Michael Maclean takes a look at this trend and some of the possible pitfalls of the approach.There has been a trend in the last while for various bits of useful software to have a one-line shell command recommended as the installation method. The usual...

Community News: Atlanta PHP October Meeting - Jacob Terry on Tracking in Applications

Community News: Atlanta PHP October Meeting - Jacob Terry on Tracking in Applications
The Atlanta PHP User Group has announced their October meetup with a presentation from Jacob Terry about tracking in your application.Even if your users don't want a full "audit trail" of activity, even if you aren't interested in doing a newsfeed, recording user actions in your application can be enormously useful. We'll look at a real-world implementation of recording that data, using a CodeIgniter-based application, and discuss three less-obvious use cases. Those are: Undo, Sync & Emails.The meeting...