As Drupal comes ever more popular, it will inevitable become more visible and targeted by hackers. We have seen it happen with other popular open source projects like Wordpress and Joomla. There'll always be a threat to security whether it be open source or proprietary CMS (closed source). Therefore, precautions should be taken to prevent and secure your site as much as possible. read more »
When your working on a development site, it's always best to mirror your production site. In most cases production site is always going to be installed in the webroot (root directory on your web hosting server). But how do we mirror this setup for MAMP running on a local machine if your development sites all lives under one directory where the sites are being served up by Apache web server? read more »
Working with a Drupal development team on a large website that was continually being updated by the client sets some very challenging issues. You'll know the hassle when it comes the time your client wants to start adding more new features or sections to their existing site. The question you'll begin to ask yourself is
"How do we add the new features while the client continues to update their site without losing the updated contents when the new features have been completed?" read more »
There are certain tasks in Drupal modules that requires a Cron job to be setup. This is a command that gets execute on the server and runs automatically in the background at specified period of time - once per day, once per hour, each 5 minutes, each Monday etc. to execute certain scripts.
The grep command is regarded as one of the most essential building blocks of command line automation. It is a search tool that can be used to perform basic text filtering and processing tasks on files and streams. Although it is deceptively simple, it can sometimes take the challenge out of finding the proverbial needle in a haystack. In this article, I'm going to show you several examples of how it can be used to perform real-world tasks.
The most common and basic scenario of grep usage is a text search. It can be used to find instances of a word or phrase in files and text streams. You can invoke it at the command line by typing the command name, the search query, and the target files in which to search. To find the word "needle" in the haystack.txt file, I use the following command:
Duvien is the MD at a company called Platform Seven specialsing in Drupal development. This is his freelance website, blog, portfolio & digital playground. Find out more