Category: "Web Applications"

Quick Apache Benchmark test with log in

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

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

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

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

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 »
1 3 4 5 ...6 ...7 8 9 10