Archive for the 'HTML' Category

How to Create a Chart with HTML/CSS/ASP/AJAX Part 2(ASP Chart Generation)

In part 1, we built all of the client side javascripts that will call the server side scripts to generate the chart. You will recall that in our javascript function getChart, the url that is used is generatechart.asp. The requirements called for a single chart to be generated with thresholds. If there was not a one day turnaround on this, we could have made the code a bit more portable and even included a database backend that would allow the users to change thresholds.
Read more »

How to Create a Chart with HTML/CSS/ASP/AJAX Part 1(JavaScript timer and AJAX call)

Recently I worked with a client who had purchased software for creating real-time graphs and charts. They had the software provider build them several charts that displayed the real-time data and they needed some thresholds on the data. The software only provided thresholding on their 3d objects, but not on the 2d. After using the reports for about 3 weeks, they decided that the 3d objects were not working for them. This is when they called me and after looking at the software we decided to completely replace it and provide a custom solution using the real-time data engine, HTML, CSS, ASP, and AJAX. Below is what we came up with, but you could make it look better by creating some image files to build the bars rather than just changing the background color.


Read more »

Employee Contacts (Part 5) - Building the Presentation Layer with PHP and HTML

  1. Building the MySQL database.
  2. Building a Data Abstraction Layer with PHP
  3. Building the Data Access Layer with PHP
  4. Building the Business Object Layer with PHP
  5. Building the Presentation Layer with PHP & HTML

Part 1 of this series covered building the MySQL database. In Part2, we built the data abstraction layer. With Part 3, we built our data access layer. At the data access layer, we made generated the queries to execute through the data abstraction layer. Part 4 of our series dealt with the business object layer and implementing one of our business rules. Finally, in Part 5, we are ready to begin our presentation layer. We will not be dealing with how to properly format the page, or creating forms. Our goal is to show you how to move data between the presentation layer and the business layer. Read more »

Employee Contacts (Part 4) - Building the Business Object Layer with PHP

  1. Building the MySQL database.
  2. Building a Data Abstraction Layer with PHP
  3. Building the Data Access Layer with PHP
  4. Building the Business Object Layer with PHP
  5. Building the Presentation Layer with PHP & HTML

Part 1 of this series covered building the MySQL database. In Part2, we built the data abstraction layer. With Part 3, we built our data access layer. At the data access layer, we made generated the queries to execute through the data abstraction layer. Part 4 of our series will cover the business object layer.

With the business layer, often times it will seem like we are simply making calls to the data access layer. And yes, that is true but remember that we are planning for future growth. A little extra time now can save you hours later down the road, and lead to far less headaches. As you will see when we build our presentation level, we should never make a direct call to the data access layer, those calls should be handled through our business layer.

Read more »

Positioning HTML Elements w/ Applets, Plugins, and OS Controls

Currently I am working on a project that requires the use of Java Applets as data controls. One of the customer requirements was that they click on a button and get additional details about the what they are currently viewing. Read more »