Hello and welcome to the latest @phpweeklynews.
This week the PHP development team has released PHP 7.2.6 and 7.1.18, both available immediately.
Also we take a look at Part 2 of the Building a PHP Framework series, looking in greater detail at what web frameworks are and what they do.
We have an article that looks to answer the question which is best; PHP or Node.js?
And finally, after a couple of months break the That Podcast team makes a welcome return, this week featuring Shawn McCool discussing his open source project Event Sourcery.
Have a great weekend,
Cheers
Ade and Katie
|
Please help us by clicking to our sponsor:
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders. |
Articles
Is Node.js killing PHP?
In a complex world of programming languages, it is often hard to understand what you really need. In fact, it may lead to holy wars around the question which one is the best. In this article, we are going to address one of such burning arguments – PHP vs Node.js. Their comparison seems necessary, as they both act in the same field, mostly aimed at the web development. Moreover, they are both open source platforms and are often applied for the same web solutions. So, let us see the battle of Node.js vs PHP and define the winner!
What I Make of Adobe’s Magento Acquisition
When Adobe announced that they were going to buy Magento it was with a little bit of envy that I heard the news. During my time at Zend I did a lot of work with the folks at Adobe and I can truly say that it was one of the highlights of my time at Zend.
Invest in Promote Drupal. Get A Special Bonus
The Promote Drupal Initiative is your opportunity to make Drupal - and your business - known and loved by new decision makers. Donate to the Promote Drupal Fund today. Help us help you grow your business. Together, let's show the world just how amazing Drupal is for organisations.
The 52 Best Tools for Freelancers to Scale a Business
People choose to freelance for a number of reasons—but most often, it is because they desire freedom. But, freelancing is not all rainbows and smiles. Check out these tools to make your job easier.
|
Tutorials and Talks
How to Test Private Services in Symfony
Two versions of Symfony are affected by this dissonance between services and tests. Do you use Symfony 3.4 or 4.0? Do you want to test your services, but struggle to get them in a clean way? Today we look at possible solutions.
A Package That Makes Event Sourcing in Laravel a Breeze
In most applications you store the state of the application in the database. If something needs to be changed you simply update values in a table. When using event sourcing you'll take a different approach. All changes to application state are stored as a series of events. The key benefit here is that you now have a history of your database.
Adding an Auto-Generated Sitemap to Your Jigsaw-based Static Site
I love Tighten's static site generator, Jigsaw. I've tried a few other static site generators, and (of course, I'm biased) I think Jigsaw has the best combination of power and simplicity. Plus, it feels like I'm writing Laravel code - because, essentially, I am.
Simple Horizontal Scrolling Menu in Just CSS
I recently visited a site with a horizontally scrolling sub-menu (pictured below) which I really liked. Because of the stigma of horizontal scrolling on desktop fostered from the non-responsive days, I often immediately dismiss it as bad practice but actually I found this pattern to be very usable on my phone.
Scheduling MySQL Backups with Laravel
You can export your whole database by running one line in your command line. It’s accessible and useful. But it’s a bit wiser to you automate the entire process. Let’s see how!
When and Where to Determine the ID of an Entity
This is a question that always pops up during my workshops: when and where to determine the ID of an entity? There are different answers, no best answer. Well, there are two best answers, but they apply to two different situations.
An Introduction to Mongo DB
MongoDB is an open-source, document-oriented, NoSQL database program. If you’ve been involved with the traditional, relational databases for long, the idea of a document-oriented, NoSQL database might indeed sound peculiar. “How can a database not have tables?”, you might wonder. This tutorial introduces you to some of the basic concepts of MongoDB and should help you get started even if you have very limited experience with a database management system.
Working with Mutable and Immutable DateTime in PHP
Mutable dates can be the source of confusion and unexpected bugs in your code. My goal isn’t to tell you that DateTime is evil because it’s mutable, but to consider the tradeoffs and benefits of using mutable versus immutable DateTime objects. Either approach warrants a good test suite and an awareness of how modifier methods affect your date objects.
|
News and Announcements
PHP 7.2.6 Released
The PHP development team announces the immediate availability of PHP 7.2.6. This is a primarily a bugfix release which includes a memory corruption fix for EXIF. PHP 7.2 users are encouraged to upgrade to this version.
PHP 7.1.18 Released
The PHP development team announces the immediate availability of PHP 7.1.18. All PHP 7.1 users are encouraged to upgrade to this version.
Symfony 4.1.0 Released
Symfony 4.1.0 has just been released, with a list of the most important changes.
Mid-Atlantic Developer Conference - July 13-14th 2018, Baltimore
Mid-Atlantic Dev Con is a polyglot event, designed to bring together programmers from the region, regardless of their choice of platform, for two full days of learning from each other and building a stronger regional community. Tickets are on sale now.
Laracon EU - 29-31st August 2018, Amsterdam
Laracon EU is a unique international Laravel event with over 750 attendees. The conference has multiple tracks and is focusing on in-depth technical talks. Come learn about the state of the industry while networking with like-minded and diversely experienced developers. Tickets are on sale now.
ZendCon - 15-17th October 2018, Las Vegas
ZendCon & OpenEnterprise is the premier technology conference designed to teach and share practical experiences from the front lines of enterprise PHP and open source environments. Focused on solving real-world, enterprise-class problems, technical business leaders, strategists, and developers will assemble to discuss case studies and best practices around the application of PHP and open source to transform business. The Call for Papers ends TODAY, and Blind Bird tickets are on sale now.
|
Podcasts
This week Cal Evans interviews Karen Baker, founder of ShipperHQ and WebShopApps.
PHP Roundtable Podcast Episode 71: Extra! Extra! PHP 7.2 Released!
The next major version of PHP is here! PHP 7.2 comes with a nice set of upgrades, performance enhancements, and a brand new crypto library right out of the box. We discuss some of the features and breaking changes that we should be aware of before upgrading to PHP 7.2.
The Laracasts Snippets Episode 84: Basic Financial Literacy
In the United States (and surely many other countries), financial literacy is not taught in schools. You might think that basic investing and a review of compound interest would be profoundly important learning material. But according to the school board, you'd be wrong. Perhaps it's only natural then that those living in the US are deeper in debt than ever in our history.
Topics include how a “location API” allows cops to figure out where we all are in real time, and introducing Visual Studio Live Share.
Our hosts, Eric van Johnson and John Congdon review Treasure, Old & New which is the May 2018 issue of php[architect] magazine. Share your thoughts on the topics covered and leave a comment below.
|
Cloudways Interview - Success Story of Adam Stone, CEO of Freelancing Startup Speedlancer
Freelancing startup Speedlancer hires qualified freelance designers, writers, and data entry professionals that businesses could employ on a freelance basis. The startup helps businesses save time that was previously wasted on bidding and hiring freelancers so that the jobs gets done as quickly as possible. We spoke with Adam on his journey of becoming a serial entrepreneur and his breakthrough success of Speedlancer in the freelancing industry.
This article is Part 2 of my review of the book "Fifty quick ideas to improve your tests". I'll continue to share some of my personal highlights with you.
|
Jobs
Do you have a position that you would like to fill? PHP Weekly is ideal for targeting developers and the cost is only $50/week for an advert. Please let me know if you are interested by emailing me at [email protected] |
Interesting Projects, Tools and Libraries
errorheromodule
A Hero for your ZF2, ZF3, and ZF Expressive application to log ( DB and Mail ) and handle php errors & exceptions during Mvc process/between request and response.
question2answer
Question2Answer is a free and open source platform for Q&A sites, running on PHP/MySQL.
url-shortener
A small set of PHP scripts that will help you in shortening your url.
symfonyinstaller
This is the official installer to start new projects based on the Symfony full-stack framework. The installer is only compatible with Symfony 2 and 3.
nukeviet
NukeViet CMS is multi Content Management System, the 1st open source content management system in Vietnam.
migration
Simple library writen in PHP without framework dependancy for database version control. Supports Sqlite, MySql, Sql Server and Postgres.
php-binance-api
PHP Binance API is an asynchronous PHP library for the Binance API designed to be easy to use.
typed
Improvements to PHP's type system in userland: generics, typed lists, tuples and structs.
ide-stubs
This repo provides the most complete Phalcon Framework stubs which enables auto completion in modern IDEs.
skosmos
Skosmos is a web-based tool providing services for accessing controlled vocabularies, which are used by indexers describing documents and searchers looking for suitable keywords.
shopware
Shopware 5 is the next generation of open source e-commerce software made in Germany.
phpdish
PHPDish is a powerful forum system written in PHP. It is based on the Symfony PHP Framework.
|
Please help us by clicking to our sponsor:
Protect your PHP Code
Why not try SourceGuardian 11. Click here to download a 14 Day Trial copy. Protect your code using Windows, Linux or Mac and run everywhere with our free Loaders.
|
So, how did you like this issue?
|
|