Tumgik
kinobiweb · 8 years
Link
J'ai lu Phinx – the Migration Library You Never Knew You Needed via Pocket: You’re building an application, and you need to share the database’s structure with your team. After all, you want everyone to be up and running as soon as possible.
0 notes
kinobiweb · 8 years
Link
J'ai lu When to Abstract? via Pocket: One of the most difficult challenges in a developers life is finding the "right" abstraction, or at least the best one given the current circumstances. The core problem is that abstraction is a bet on the future development of the software and we know that future is volatile.
1 note · View note
kinobiweb · 8 years
Link
J'ai lu PHP Memory Usage & Unnecessary String Concatenation via Pocket: As PHP developers, especially if like me you don’t come from hard-core Comp Sci background, we are initially trained not to worry about memory.
0 notes
kinobiweb · 8 years
Link
J'ai lu An Overview of PHPUnit 5 – What’s New? What’s Coming? via Pocket: This post has been peer reviewed by Cláudio Ribeiro and Thomas Punt. Many thanks to the reviewers who keep SitePoint’s content perpetually excellent! It was January 2016 when the PHPUnit development team announced the release of PHPUnit 5.0.
0 notes
kinobiweb · 8 years
Link
J'ai lu Forwarding Visitor’s Real-IP in Nginx Proxy/Fastcgi backend correctly via Pocket: Here, we are dealing with 2 nginx servers. A front-end nginx, proxying request to another nginx-server running behind firewall. This backend-nginx is a WordPress setup, using PHP-FPM (fastcgi) on our case. Article is valid for any code/application running behind fastcgi upstream.
0 notes
kinobiweb · 8 years
Link
J'ai lu Tiniest query builder via Pocket: Personally, I am not a fan of Query Builders, I prefer pure SQL. However, constructing dynamic queries from search forms can be quite tedious: There are several issues with this code, first of all it's very verbose.
0 notes
kinobiweb · 8 years
Link
J'ai lu Buggy PHP Code: The 10 Most Common Mistakes PHP Developers Make via Pocket: PHP makes it relatively easy to build a web-based system, which is much of the reason for its popularity.
0 notes
kinobiweb · 8 years
Link
J'ai lu mon petit script pour renouveler mes certificats Let’s Encrypt via Pocket: Après avoir passé ce blog et d’autres sites web dont je gère en full HTTPS grâce à Let’s Encrypt, j’ai écrit un petit script bash pour automatiser le renouvellement de mes certificats tous les 2 mois, avant les 90 jours de limite de validité.
0 notes
kinobiweb · 8 years
Link
J'ai lu Testing Slim Framework actions via Pocket: To test a Slim Framework action, you need a request and a response object and mock whatever is in the action. This is one way to do this. This is one of those useful API endpoints that your users can use to check that everything is working as expected.
0 notes
kinobiweb · 8 years
Link
J'ai lu You Wouldn't Base64 a Password - Cryptography Decoded via Pocket: There's a ton of bad programming and security advice on the Internet. Some of the advice is bad because the author is misinformed, some because it emphasizes precision over clarity and most people wind up lost in the jargon.
0 notes
kinobiweb · 8 years
Link
J'ai lu Simplifying Conditional Expressions via Pocket: As I’ve been reading through Refactoring by Martin Fowler, I’ve found it helpful to rewrite some of the examples from the book in PHP in order to cement the concepts into my mind.
0 notes
kinobiweb · 8 years
Link
J'ai lu (The only proper) PDO tutorial via Pocket: There are many tutorials on PDO already, but unfortunately, most of them fail to explain the real benefits of PDO, or even promote rather bad practices. The only two exceptions are phptherightway.com and hashphp.org, but they miss a lot of important information.
0 notes
kinobiweb · 8 years
Link
J'ai lu Introduction To PHP 7: What's New And What's Gone via Pocket: One of the most exciting events in 2015 in the PHP world was the release of PHP 7, 10 years on from the release of the last major version, PHP 5. With a major step forward, PHP 7 introduces plenty of new features and performance upgrades.
0 notes
kinobiweb · 8 years
Link
J'ai lu How to Safely Store Your Users' Passwords in 2016 via Pocket: If you are unfamiliar with cryptography concepts or the vocabulary it uses, or especially you are looking for guidance on "password encryption", please read this page first. We've previously said that even security advice should carry an expiration date.
0 notes
kinobiweb · 8 years
Link
J'ai lu On Code Reviews via Pocket: Recently we’ve had some discussion on the PHPNL Slack community about code reviews.
0 notes
kinobiweb · 8 years
Link
J'ai lu PHP and RabbitMQ: Advanced Examples via Pocket: In part 1 we covered the theory and a simple use case of the AMQP protocol in PHP with RabbitMQ as the broker. Now, let’s dive into some more advanced examples. In the example of the previous part, we had one producer, one consumer.
0 notes
kinobiweb · 8 years
Link
J'ai lu Nginx and php-fpm for performance via Pocket: This article is a step-by-step nginx/php-fpm installation and configuration. We will see how-to configure these services to get the best performances according to your server settings. You should test your configuration files using a load testing tools (apache Benchmark, tsung etc) and adjust it.
0 notes