Category: "Web Applications"

Quick Apache Benchmark test with log in
May 25th
I have been looking at performance for a web application. I am using ab to compare the response times while adjusting the database indexing. Shell # 'log in'… more »

DataTables - Adding Buttons to a FixedHeader
Mar 1st
I was using both the FixedHeader and Buttons extensions of DataTables and I needed the buttons to remain visible when the user scrolled. The solution I chose was to move the buttons DOM into the table head. Since the buttons are in a div and thead is… more »

Web application session timeout code
Aug 28th
Session timeout warning for a web application with a variety of page layouts and frequent use of multiple tabs.
Nutshell explanation - ping the server, if you get a 403, show a huge red bar across the top of whatever page pinged.
Result:
It is immed… more »

Symfony 3 Ajax (EntityType) CollectionType
Jan 10th
Objective: Create an efficient way to use a Symfony CollectionType of Entities. I wanted to be able to provide a Dijit FilteringSelect (autocomplete) for a collection of entities.
Issues: Using a CollectionType of EntityTypes loaded all the entities i… more »

How to set environment variables that can be referenced by Apache, shells and cron jobs
Oct 19th
In some cases, environment variables are used to store configuration information. If the values are referenced from different sources, such as through a web server and on the command line, it is a good idea to define them in a single place and graceful… more »