After 24 hours the X-Mas edition of the “Learn ZF2” book is sold out!
We would like to thank all of you for your interest and support and wish you a nice time with our splendid Zend Framework 2 book, Merry Christmas and Happy New Year!
After 24 hours the X-Mas edition of the “Learn ZF2” book is sold out!
We would like to thank all of you for your interest and support and wish you a nice time with our splendid Zend Framework 2 book, Merry Christmas and Happy New Year!
Today, 22nd of December, we are giving away the latest version of the “Learn ZF2″ book* for as little as $ 2.52** .
The quantities are limited and you can increase your chances by retweeting this news, liking us on our Facebook page (https://www.facebook.com/learnzf2), or in Google Plus (https://plus.google.com/+Learnzf2/posts).
You can get the book from https://payhip.com/b/bdI0.
* The second edition in PDF format.
** the price is before tax and/or any commission(s) from the credit-card processing companies or any additional charges.
On 22nd of December, after seven days, we will be giving away the latest version of the “Learn ZF2” book* for as little as $ 2.52** .
The quantities are limited and you can increase your chances by retweeting this news, liking us on our Facebook page (https://www.facebook.com/learnzf2), or in Google Plus (https://plus.google.com/+Learnzf2/posts).
On 22nd we will publish the final URL from where you can get the book.
* The second edition in PDF format.
** the price is before tax and/or any commission(s) from the credit-card processing companies or any additional charges.
As promised we will have special promotion on the 22nd of December and you can buy the latest version of the “Learn ZF2” book* for as little as $ 2.52** .
The quantities are limited and you can increase your chances by retweeting this news, liking us on our Facebook page (https://www.facebook.com/learnzf2), or in Google Plus (https://plus.google.com/+Learnzf2/posts).
Stay tuned for more information.
* The second edition in PDF format.
** the price is before tax and/or any commission(s) from the credit-card processing companies or any additional charges.
We are thinking about giving the new edition of “Learn ZF2”* for Christmas for less than 3 dollars**. Do you want to have one? If yes, then let us know by retweeting this news, liking us on our Facebook page (https://www.facebook.com/learnzf2), or in Google Plus (https://plus.google.com/+Learnzf2/posts).
If we reach 60 likes and tweets then we will prepare the X-mas edition and we will start selling it three days before Christmas.
If ten days before Christmas we reach well over the 120 likes and tweets we will prepare a special giveaway for the paperback version 🙂
So if you want to get a copy of the book or give it as a present to a friend do not hesitate to like/retweet.
* The second edition in PDF format.
** the price is before tax and/or any commission(s) from the credit-card processing companies or any additional charges.
As of today the new version of the book “Learn ZF2” is released!
I would like to thank our editor Doug Bierer, our interior designer Jivko Gradinarov and our readers John Chadwick, David Mintz and Clark Everetts for their hard work and support. Without you guys this version would not have been possible. You really rock!
If you want to get the latest version right now you can get it as
iBook version
PDF version
ePub version
Kindle/Mobi version
Paperback version
Amazon needs 3 to 5 business days to publish the new version. So if you want to get the paperback version from there then visit the following link AFTER a week.
And last, but not least, we are preparing an X-Mas edition, that will be sold dirt cheap – for approximately $2.50 (without tax). Plus we will be giving away 5 paperback copies. If you want to increase your chances to win a book start mentioning this news in Twitter, Facebook or your favourite social media application. We will publish more details about the giveaways later this month, so check this site for updates.
Soon we will update the Learn ZF2 book to add more content related to Testing and Abstract Factories + Caching. I would like to thank our readers John Chadwick, David Mintz and Clark Everetts for helping us make this happen. And special thanks to our editor Doug Bierer, who reviewed and polished the content.
Thanks a lot guys. You rock!
If you are still wondering which Zend Framework 2 book to buy, then check David Mintz’s review of “Learn ZF2”. He has done marvelous job in explaining it all and his review is one of the most helpful reviews of a technical book that I have read recently.
“Learn ZF2 is a relatively slim, tutorial-style book rather one that tries to be a comprehensive, 800+ page reference weighing 10 kilos — good news for Luddites who still like to carry paper around with them. Author Slavey Karadzhov does an admirable job of explaining, step by step, a system that is undeniably complex — and manages to do so with few if any forward references to things that have yet to be introduced.”
“…the text and code examples, my understanding of Zend Framework 2 has already advanced by orders of magnitude. This is exactly what I needed to get over the hump. Learn ZF2 is a splendid little book, and an excellent choice for web developers who want to learn this powerful and elegant framework.”
* The title of this news is taken from David’s review.
If you want to test your Zend Framework 2(ZF2) or any PHP application with PHP7 we have a good news for you! We have prepared new isolated development environment based on our previous box.
PHP7 is the next generation of PHP that promises big performance improvement (around 1,5 to 2,1 times faster than PHP 5.6 ) and additional syntactic sugar.
At the moment PHP7 is still in heavy development and the installation and updates in your existing operating system can be challenging. Therefore we have prepared for you a script that can help you create an isolated development environment with PHP7 and the sample application from “Learn ZF2” in it for your testing pleasure. Of course you can add your own PHP applications to the box and test if they are working with PHP7.
Here are the steps that you need to create your own dev box with PHP7.
First you will need to install the latest version of Vagrant and Virtualbox. If you are using Ubuntu 14 you can check the instructions on that external page.
Then you need to clone the learnzf2-box repository using the following command:
git clone -b php7 https://github.com/slaff/learnzf2-box.git learnzf2-box-php7
And when the repository is cloned you have to start the virtual machine using
cd learnzf2-box-php7 vagrant up
After some minutes you will have brand new isolated development environment with Ubuntu 14, apache web server with PHP7 and the latest version of the “Learn ZF2” source code from github.
In order to ssh to the virtual machine you can type
vagrant ssh
And in order to access the web server from outside you can type in your browser http://localhost:8080
The source code is in a shared folder named dev and can be accessed and modified both from inside the virtual machine and from your physical machine.
As a follow-up to our Zend Framework 2 (ZF2) performance article we created a composer package that can be used right away in your ZF2 application.
We have noticed that in real world applications routing can take
300 ms or more. With this module the routing can take less than 40 ms.
Run the following command from the root folder of your ZF2 application.
php composer.phar require learnzf2/route-cache:* |
First: To enable the module make sure to add it to the list of modules in your config/application.config.php.
Second: This module requires a cache service that is called “var-cache”. The cache service
should be able to store variables. If you already have such a service but it has a different name then you can use aliases in the service_manager section of your application configuration. This can be achieved by adding the following lines:
3 4 5 6 7 8 9 | 'service_manager' = array( // ... 'aliases' => array ( // ... 'var-cache' => '<your-cache-service-name>' ) ), |
If you don’t have a cache service in your application then copy the file
vendor/learnzf2/route-cache/config/cache.local.php.dist to config/autoload/cache.local.php.
Enjoy!