One of the powerful tools available in most Linux distributions is the Wget command line utility. With a simply one-line command, the tool can download files from the web and save them to the local disk. While this capability might initially seem only moderately useful (Why not just use Chrome or Firefox to download the file?) – most Linux servers are managed remotely through a tool called SSH. SSH normally offers only a command line interface without any graphical components, so all the server maintenance needs to be done through the command line. Wget is used constantly throughout the installation process to download files from the Internet and install new programs on the system.
Continue reading
Tag Archives: Software Sagacity
PHP, Be Not Proud
Over the years, PHP has been instrumental to progress in the field of web development. As one of the early pioneers of server-side web scripting, the PHP language grew to become the dominant programming language of open-source web applications. Its free and open-source codebase made it the default programming language on Apache and Linux, and the large number of excellent web applications built on PHP will secure its existence for at least the next fifteen years.
Continue reading
Magento Custom Product Listing in the CMS Page
When developing applications on Magento’s Ecommerce platform, it’s occasionally necessary to customize the way products are displayed. While the default store layout has the product listing built-in, custom product listings can highlight certain products and attributes, or make it easier for customers to find their desired products. When integrated into a CMS page, the custom product listing will provide a robust and easy-to-maintain feature without the overhead of plugin development.
Continue reading
Dynamically Hide Custom Options in Magento
Magento offers a stable and extensible platform for online store development. Its full-featured administration and reporting offer businesses the capability to leverage an open-source alternative to a fully custom system. The stock cart can often handle most of the store requirements through its built-in configuration options, while the open-source backend can be modified as necessary for more advanced customizations.
Continue reading
Automatically Securing a Web Folder
Web applications often store dynamic data in folders together with the application. From WordPress to Magento, many open source apps default to intermingling the data with the application folder structure. Although this provides a simpler deployment and ease of installation for newcomers, it also provides a significant security loophole for exploit by hackers.
Continue reading
Elements of an Enterprise-Grade Web Framework – Part 2: Existing Database Schemas
A powerful database schema is one of the key components of an enterprise application. Using the database to enforce business logic and ensure data integrity enables both flexibility and scalability in application design. By coding business logic in both the database layer and application layer, the database has the flexibility to then also be used by other applications and processes without fear of corrupting data. In addition, other systems can take advantage of stored procedures or views that make future development easier, instead of the platform lock-in created by storing all business logic in the application itself.
Continue reading
PHP Form Sniffing – Full GET and POST Variable Simulation
When developing web applications, it is sometimes necessary to capture and replicate a particular request in order to debug and fix a problem. This is especially true when integrating with third-party applications, where it can be challenging and time-consuming to reproduce a specific scenario. If the errors are sporadic, capturing all relevant data to a file will allow the developer to review the log afterward to match the incident time with the suspect form parameters.
Continue reading