PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 741 to 760 of 6889

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...

Tecmint.com: Install Apache, MySQL 5.5.27 & PHP 5.4.7 on RHEL/CentOS 6.3/5.6 & Fedora 17-12

Tecmint.com: Install Apache, MySQL 5.5.27 & PHP 5.4.7 on RHEL/CentOS 6.3/5.6 & Fedora 17-12
Tecmint.com has a new tutorial that walks you through the installation of a full LAMP stack (Linux, Apache, MySQL and PHP) on a CentOS or RedHat installation.This howto guide explains you'll how to install Apache Server with latest MySQL 5.5.27 and PHP 5.4.7 versions with php required following modules on RHEL 6.3/6.2/6.1/6.0/5.8/5.6, CentOS 6.3/6.2/6.1/6.0/5.8/5.6 and Fedora 12,13,14,15,16,17 systems using Remi repository via Yum tool.Thankfully, package management has made things a lot simpler than...

Cory Fowler: Enabling PHP 5.4 in Windows Azure Web Sites

Cory Fowler: Enabling PHP 5.4 in Windows Azure Web Sites
Cory Fowler has a recent post explaining how you can enable one of the most recent PHP releases (PHP 5.4) on your Windows Azure website via the " Bring-Your-Own-Runtime" feature.Much like many other developers, I like to live on the bleeding edge, learning new language features, using the latest tools so naturally one of the things I wanted to see in Windows Azure Web Sites is support for PHP 5.4. I'm pleased to be telling you today in this post that support for Bring-Your-Own-Runtime is now available in...

Site News: Popular Posts for the Week of 09.21.2012

Site News: Popular Posts for the Week of 09.21.2012
Popular posts from PHPDeveloper.org for the past week:Emanuele Minotto: PHP in a Tweet Reddit.com: What does it take to be hirable in the world of PHP? PHP.net: PHP 5.4.7 and PHP 5.3.17 released! PHPMaster.com: Subtype Polymorphism - Swapping Implementation at Runtime Robert Basic: Unit testing Zend Framework 2 modules Site News: Popular Posts for the Week of 09.14.2012 Justin Carmony: Vagrant & PHP: Our Success Story at the Deseret News 7PHP.com: Interview with Matthew Turland, Co-Author of "PHP Master:...

Screencasting on Linux

I've been wanting to do screencasts on Linux for some time now, and my big stumbling block has been determining what tools to use. The tl;dr: Use recordMyDesktop to record video clips, but afterwards, re-encode them to AVI (see the script I used) Record audio to WAV, or convert compressed audio to WAV format afterwards. Use OpenShot to stitch clips together and layer audio and video tracks. Remember to reset the video length if you change the playback rate. Export to a Web + Vimeo profile for best...

PHPMaster.com: Compiling PHP from Source on Windows

PHPMaster.com: Compiling PHP from Source on Windows
For most PHP developers, when they hear "compile from source" they automatically assume that the person talking means they're working with a unix variant-based system. In this new tutorial from PHPMaster.com, though, they show how to "compile from source" on a different platform - Windows.Those working in a Windows environment are more likely to download and install PHP from precompiled packages. And while I don't disagree it's easier to use a precompiled solution, even on Unix systems, there are some...

Latest PHP Tweets