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.
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...
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...
c_xml
APC_handler
Simple Image Captcha Class
JavaScript in PHP
Login with linux passwd or shadow
Word Solver
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
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...
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 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.
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...
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"....
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....
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 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...
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 :)
Latest PECL Releases:
intl 2.0.0b1
gearman 1.0.0
gmagick 1.0.10b1
functional 0.0.5
gearman 1.0.1
.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...
Having dealt with a lot of dates and timesa€‰-a€‰and 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...
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 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 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
|