May 21, 2017In this article, we will tackle the basics of Composer, and what makes it such a powerful and useful tool.
Before we go into detail, there are two things that we need to have in mind:What Composer is:
As we can see on their website: “Composer is a tool for dependency management in PHP. It allows you to declare...
April 3, 2017This is the editorial from our latest JavaScript newsletter, you can subscribe here.Recently, security researchers analyzed 133,000 websites for outdated JavaScript libraries. Their findings, presented in a whitepaper, Thou Shalt Not Depend on Me: Analysing the Use of Outdated JavaScript Libraries on the Web, do not ...
November 10, 2016While there is much excitement about Facebook’s new Yarn project, the continuing success of Node.js owes much to its original package manager, npm.
A few simple npm commands is all it takes to initialize a folder (npm init), download packages (npm install) and create tests (npm test) and custom scripts (npm run) ...
June 29, 2016Dependency Injection is all about code reusability. It’s a design pattern aiming to make high-level code reusable, by separating the object creation / configuration from usage.Consider the following code:
<?phpclass Test {protected $dbh;public function __construct(PDO $dbh)
{
...
February 26, 2016We skipped January’s Sourcehunt, but we’re back now, ready to boost the stardom of more projects!mult1mate/cron-manager [125 ★]
mult1mate/cron-manager is a flexible tasks manager designed for MVC-type applications. It’s used instead of crontab and its purpose is to provide an easy way to manipulate repetitive...
February 12, 2016A search for “dependency injection container” on packagist currently provides over 95 pages of results. It is safe to say that this particular “wheel” has been invented.However, no chef ever learned to cook using only ready meals. Likewise, no developer ever learned programming using only “ready code”.
In...
September 4, 2015The Node Package Manager (a.k.a. npm) has given web developers easy access to a lot of awesome JavaScript modules and has made our lives considerably easier when trying to find and manage dependencies for our applications. It also makes it easy for developers to create and publish their own modules, meaning that other ...
Recent Comments