PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information
Displaying news posts 2641 to 2660 of 6889

Mayflower Blog: Advent Calendar Articles

Mayflower Blog: Advent Calendar Articles
Over on the Mayflower blog, the group has set up their own series of "advent calendar" posts on a wide range of topics. Here's their list (updated as new items are posted): Cloud Transformation Model PHP 5.3 Features in Real Life (German) Setting up a QA environment for Javascript Generating PDFs in PHP (German) Doctrine 2 Doctrine 2 - Zend Framework Integration One-click Deployment They're a mix of English and German articles, but with a handy translator you can follow along pretty well.

Mrinmoy Ghoshal's Blog: Concept of Strings:PHP

Mrinmoy Ghoshal's Blog: Concept of Strings:PHP
If you're new to the PHP language and are looking for the full scoop on working with the string datatype, look no further than this new post from Mrinmoy Ghoshal. It's an excellent (and quite complete) resource for just about everything involving strings in PHP.A string is series of characters, where a character is the same as a byte. This means that PHP only supports a 256-character set, and hence does not offer native Unicode support. See details of the string type.The tutorial is broken up into...

Community News: PHPFog Gifts Free-for-Life Applications

Community News: PHPFog Gifts Free-for-Life Applications
PHPFog, the PHP-centric platform as a service has made a new post to this blog about two new "gifts" they're providing to developers:I want to thank you for your interest in PHP Fog. Thanks to you and tens of thousands of developers like you, we have grown massively in the last year and a half. As a sign of my gratitude, I'd like to give you two free gifts.Their gifts to the community are a conversion of the 6 month applications over to a free-for-life product and you can now deploy three of these "free...

Community News: Latest Releases from PHPClasses.org

Community News: Latest Releases from PHPClasses.org
c_xml APC_handler Simple Image Captcha Class JavaScript in PHP Login with linux passwd or shadow Word Solver

My Mayflower Advent calendar article

My Mayflower Advent calendar article
This year some folks at Mayflower decided to make an advent calendar with a daily blog post, and today was my turn to write. So here's One-click Deployment (with Jenkins). Comments are welcome over there or via twitter to @anderiasch

The Easy Way of Running Your MySQL Applications in the Cloud

The Easy Way of Running Your MySQL Applications in the Cloud
The Easy Way of Running Your MySQL Applications in the Cloud By Avigail Ofer More and more sites are moving to cloud hosting services to assure a smooth growth path, as the sites require more servers to handle the audience growth. As a developer, you want to ensure that your database is running smoothly in the cloud, but you do not want to be bogged down by tedious operations and everything else that goes into it, like the manual configuration, optimization, maintenance and development. Read this...

Twilio in Two Minutes

Twilio in Two Minutes
I love Twilio. If you're not familiar with Twilio and the amazing voice and text messaging stuff you can do with it, you're in luck! I'm going to show you a few things you can try in a matter of minutes. An emergency line for the kidsFor $2 per month, I set up an emergency toll-free phone number for my kids. They can call this number from any phone, anywhere in the US, for free. The toll-free number will ring my phone, then their dad's phone, then their grandparents' phone, and if all else fails, then a...

My PHP Advent article

My PHP Advent article
My PHP Advent article just got published. It's a list of best practices around dealing with dates and times in PHP. Have a read and tell me what you think. Also, be sure to follow @phpadvent or subscribe.

07.12. One-click Deployment

07.12. One-click Deployment
Today's topic is deployment. It's called one-click deployment for a reason: Developers are lazy. It's hard to do less than clicking on one button, so that's our goal. With the growing need for lower time-to-market and faster response to user feedback it is inevitable to not be limited by technical factors (there are enough other obstacles already). The focus lies on reproducible results.So, what do we need? Actually, not much. Disregarding the tools and practices that build the foundation of agile...

Lukas Smith's Blog: Loose interface coupling

Lukas Smith's Blog: Loose interface coupling
In a new post to his blog Lukas Smith proposes an idea for a loosely coupled interface setup that would allow for easier integration between third-party libraries and other applications.Especially as for different libraries a different subset of the community could end up collaborating. Here I see 3 options: 1) each library bundles the interfaces (even though they sit in some common namespace), 2) each project asks their users to fetch the common interfaces from some other place 3) runtime "coupling"....

DevArticles.com: Singletons in PHP

DevArticles.com: Singletons in PHP
On DevArticles.com today there's a new tutorial posted talking about one of the more popular design patterns, the Singleton, and how it can be implemented in PHP.Though in the past they enjoyed both popularity and a certain amount of prestige, without a doubt Singletons have progressively become one of the most evil and despicable villains in object-oriented design. Singletons earned their bad reputation for a reason: bringing them to life requires the programmer to deal at least with a static method....

DZone.com: Codeigniter and Object-Oriented PHP: Two Guides

DZone.com: Codeigniter and Object-Oriented PHP: Two Guides
On DZone.com today John Esposito points out two CodeIgniter tutorials that can help you on your way to becoming a pro with this popular PHP framework.As Codeigniter builds on its (already considerable) popularity, now might be a good time to think about using the massively community-supported PHP framework to its maximum potential, if you aren't already. Here are two tutorials to check out, depending on your level of familiarity with object-oriented PHP and frameworks.Here's the two he mentions:...

Joshua Thijssen's Blog: SPL: Using the iteratorAggregate interface

Joshua Thijssen's Blog: SPL: Using the iteratorAggregate interface
Joshua Thijssen has a recent post spotlighting a part of the Standard PHP Library (SPL) that implements that Traversable interface, the IteratorAggregate interface.Together with its more famous brother "Iterator", they are currently the two only implementations of the "Traversable" interface, which is needed for objects so they can be used within a standard foreach() loop. But why and when should we use the iteratorAggregate?He answers his question with an example - a book that contains chapters. With a...

Twig: Don't forget to close your tags

Twig: Don't forget to close your tags
Just a little heads-up for people working with Symfony2/Twig: Today I ran into an issue that I couldn't figure out. "It shouldn't be this hard..." I thought, and indeed, it turned out not to be as hard. It's just easy to overlook: Make sure to close your twig tags correctly :)

Community News: Latest PECL Releases for 12.06.2011

Community News: Latest PECL Releases for 12.06.2011
Latest PECL Releases: intl 2.0.0b1 gearman 1.0.0 gmagick 1.0.10b1 functional 0.0.5 gearman 1.0.1

06.12. Doctrine 2 - Zend Framework Integration

06.12. Doctrine 2 - Zend Framework Integration
.serendipity_entry h1 { font-size: 20px; margin: 13px 0; } .serendipity_entry h2 { margin: 7px 0; } .serendipity_entry ul { padding-left: 3em; } .gist-data { max-height: 250px; overflow: auto; } In yesterday's article of our advent calendar, we explained the concepts underlying Doctrine 2. In today's article, we want to use that knowledge and create a simple Zend Framework (ZF) application that uses Doctrine 2 to persist its business objects. While explaining how to integrate Doctrine...

Dates and Times

Dates and Times
Having dealt with a lot of dates and timesa-aand the calculations between thema-a recently, I thought it might be a good idea to write down some of the issues I've encountered. The truth is, dates and times are hard! There are many different rules that make dealing with dates and times non-trivial. Often, people make mistakes, causing loss of information and general confusion. Deciding on a format One of the observations I've made is that nearly every system out there lacks a standard for passing around...

Elizabeth Naramore's Blog: PHP Internals, Let's Chat About the Future!

Elizabeth Naramore's Blog: PHP Internals, Let's Chat About the Future!
Elizabeth Naramore, host of the "Future of PHP" webcast series for EngineYard has put out a call for PHP internals developers inviting ones that would like to chat a bit.Consider this a call to the PHP Internals team. We've been doing a series of panel discussions over at Engine Yard about PHP-related frameworks and where they are going in the future, but one important piece that's missing is the discussion about the future of the PHP core. [...] If you're a core PHP contributor and you want to voice...

Christer Edvartsen's Blog: Running Multiple Versions of PHPUnit

Christer Edvartsen's Blog: Running Multiple Versions of PHPUnit
Christer Edvartsen has a recent post showing you how to get multiple PHPUnit versions installed and working on your application. There's been some issues lately due to some updates in recent PHPUnit versions:The latest version of PHPUnit (3.6.4 at the time of this writing) does not play well with the Zend Framework extensions (Zend_Test_PHPUnit). After asking Matthew Weier O'Phinney about this he answered that they had standardized on PHPUnit-3.4 for ZF1. Having just upgraded to the latest version of...

Till Klampaeckel's Blog: Cooking PHPUnit (and a chef-solo example on top)

Till Klampaeckel's Blog: Cooking PHPUnit (and a chef-solo example on top)
Till Klampaeckel has a new post to his blog combining two powerful technologies into one automated package that uses a Chef recipe to install PHPUnit as a part of the setup.If you follow my blog for a while, you might have noticed that I'm a huge fan of automation. I just moved one of our development servers the other day and had one of these moments where something just paid off. Taking for granted that I can spin up fully operational EC2 instances in minutes, I also had our development stack installed...

Latest PHP Tweets