Category: Miscellaneous

Sourcehunt March 2016: PHP in Rust, Pathfinding, Eve Online

Time to promote some open source projects again![author_more] blackscorp/astar [2 ★] A package by our very own Vitalij, astar is a PHP implementation of the A* pathfinding algorithm.Continue reading %Sourcehunt March 2016: PHP in Rust, Pathfinding, Eve Online% ...

PHP Macros for Fun and Profit!

I was originally going to call this “Micro Macros with Márcio Perfectly Pragmatic Pre-Processor library”, but I didn’t think Bruno would approve… I get really excited when developers feel empowered to create new tools, and even new languages with which to solve their problems. [author_more] You see, many devel...

Re-Implementing the Range Operator in PHP

In the prequel to this article (hint: make sure you’ve read it first), I showed one way to implement a range operator in PHP. Initial implementations, however, are rarely the best, and so it is the intention of this article to look at how the previous implementation can be improved. Thanks once again to Nikita Popov ...

Implementing the Range Operator in PHP

We sometimes come across some amazing posts in other locations, and with the permissions of their authors, repost them on SitePoint. This is one such instance. In the post below, Thomas Punt implements the range operator in PHP. If you’ve ever been interested in PHP internals and adding features to your favorite prog...

Sourcehunt #4 – Reflection, Authorization, Crons, and more

We 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...

9 Development Workflow Upgrades You Should Know About

Every once in a while I run into a tool or plugin so useful I can’t not add it to my arsenal. I usually shout out tweets and try to spread the word that way, but this time I believe I’ve got such a neat (and somewhat random) collection of productivity boosting entries, they deserve a collective article.Here are 9...

Appserver – Server Configuration, Dir Structure and Threads

In the first part of our Appserver series, we discussed the very high level differences of Appserver’s architecture to standard web server stacks and got you up and running with an Appserver instance. If you missed that part, please take the time to read it.In this part, we will be exploring the Appserver architect...

Transphporm – a Different Kind of Template Engine

If there is one thing the world needs, it’s definitely another PHP template engine! But wait, this one is different! Many PHP template engines (Smarty, Blade, Twig…) are little more than abstracted PHP code, making it easier to write loops, if/then/else blocks, and display variables with less verbosity than vanilla...

Feature Toggling Explained with Qandidate’s Toggle

A frequently used development workflow in version control systems is feature branching. The idea is that we develop new features in branches other than the master one. After a feature is tested and ready to be released, it is merged back into the master branch or a release branch for deployment. This approach helps us ...