Using ReactPHP to run Drupal tasksSaturday 6, July 2019mglaman
ReactPHP is an event-driven non-blocking PHP framework that allows to you work in a long-running script through an event loop. At its core, ReactPHP provides an event loop and utilities to trigger events at specific intervals and run your code. This is different than normal PHP script execution which of a short lifecycle and per individual requests.
ReactPHP has been used to build web server applications, web socket servers and more. But, what if we used ReactPHP to execute operations and tasks on a Drupal application?
Conductor, a Composer UISaturday 22, October 2016mglaman
Developers have many tools. We have version control systems, we have dependency management tools, we have build and task automation tools. What is one thing they all have in common? They are command line tools.
However, the command line can be daunting to some and create a barrier to adoption. We’re currently experiencing this in the Drupal community. People are considering Composer a barrier to entry, and I believe it’s just because it’s a command line tool and something new.
With WordPress 3.5 came an awesome revamp of the media library that allows users to easily place a photo gallery from new and old images within the media library. The gallery shortcode was introduced and provides quite a few different features, all available from a user interface and not just shortcode attributes. There are a few things missing from the user interface that can let you make the most out of your photo galleries.
We all want to show off our social networks on our blog or website, especially our clients. Businesses need to have a profile on all major services in modern markets, and it is not hard recreating this multiple times; but, it can be annoying. Here is some quick and dirty code you can use to make a WordPress widget.
The widget works by inputting the social network URLs, full URLs mind you not just the handle. If the URL is present it will pull an icon from the specified location. In the case of this code it is from a WordPress theme that the widget is part of.
When I was developing my Joomla! components to make my GRealty suite I needed a few custom fields that were not native to Joomla The process is simple and only requires one new folder and one new file in your component.
In your components admin/models/ folder create a new folder called 'fields'. Create a new PHP file, name it however you want your field to be referenced within Joomla.
With the new wave of mobile devices being a major way to access the Internet, it has become possible to customize web applications based on a user's location - or create web applications based on user location.
Google+ API and LibraryMonday 28, November 2011mglaman