Tag Archives: Software Sagacity

Elements of Enterprise-Grade Web Frameworks – Part 5: Lazy-Loaded Data Grids

LoadingThe lazy-loaded data grid has been a key feature of desktop applications, and is slowly making its way into web applications. Lazy-loading enables clients to view large amounts of data by initially loading only a small portion of the results. As the client scrolls toward the bottom of the screen, the next set of data is automatically loaded from the server.
Continue reading

RSS Twitter LinkedIn Facebook Email

WordPress Shopping Cart – How to Use Custom Meta Variables

WordPress Tips and TricksWhile the WordPress Shopping Cart plugin is far from a comprehensive online store, it still provides an easy and cheap way to sell products online. Although the stock implementation might work well for a simple product catalog, many users will need to customize the product listing based on product settings. In order to accomplish this, the cart as a feature called “Custom Meta” variables; we will explore how to use these variables to change the way products are displayed.
Continue reading

RSS Twitter LinkedIn Facebook Email

How to Convert HMTL to PDF using PowerShell

PowerShellMicrosoft PowerShell is an incredibly flexible batch scripting engine – essentially the Swiss Army knife of Windows programming. Although the language itself is derivative of Batch files, it gains significant capability through .NET integration. PowerShell scripts can access SQL databases, execute shell commands, parse file and directory structures, and perform I/O, mostly through one-line commands.
Continue reading

RSS Twitter LinkedIn Facebook Email

CSS Absolutely Relative Positioning

Web DevelopmentWhen web designers code a site’s HTML and CSS, the built-in methods for positioning elements on the screen are “absolute”, “fixed” and “relative” positioning. Each method provides its distinct set of advantages and drawbacks, however there are times when a layout requires the best of all worlds. In order to handle these cases, a very useful hybrid technique is available, dubbed absolutely relative positioning.
Continue reading

RSS Twitter LinkedIn Facebook Email

PHP Form Sniffing – Full GET and POST Variable Simulation

PHP DevelopmentWhen 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

RSS Twitter LinkedIn Facebook Email

PayPal IPN Integration – SSL Connection Reset By Peer

PayPal IntegrationWhen integrating PayPal payment processing into a web application, one of the common errors is “SSL: Connection Reset By Peer.” This cryptic error message can be challenging to fix without the correct set of headers.
Continue reading

RSS Twitter LinkedIn Facebook Email

Web Development Tips – Disabled Input Elements in Postback

Web DevelopmentWhen developing forms for the web, there are two methods to make a form element non-editable – using either the “readonly” or “disabled” attributes.  Each method has its benefits and drawbacks, however there is a workaround available to combine the best of both worlds.
Continue reading

RSS Twitter LinkedIn Facebook Email

Encrypting Passwords for the Web

SecurityASP.NET, PHP, and most web platforms offer a variety of techniques for data encryption, ranging from simple hashing to fully reversible encryption algorithms. Developers will need to choose the algorithm that offers the most security possible, while sacrificing the least amount of capability.
Continue reading

RSS Twitter LinkedIn Facebook Email

Highlight Table Rows using Javascript

Web DevelopmentWhen developing web applications with wide tables, it’s often difficult to scroll horizontally and see which row corresponds to which data. This is why most apps limit the width of any table to the width of the page. Still, at times it is necessary to show a large amount of data in a tabular format. This JavaScript scriplet will help add highlight functionality to any HTML table.
Continue reading

RSS Twitter LinkedIn Facebook Email

C#.NET – A Case for Macros

.NETMacros are one of the most notable C/C++ features that went missing from C#.  With programming experts forever in debate on whether macros enhance or detract from a programming language, and many run-of-the-mill developers ignoring the feature entirely, the .NET team chose to keep them out of the C# spec.  Still, the language might be enhanced with macro integration in a future release of the framework.
Continue reading

RSS Twitter LinkedIn Facebook Email