How to troubleshoot Javascript errors

In this article we will be focusing on debugging and troubleshooting the JavaScript errors. We will look at few examples to illustrate the methods used.

For this purpose we will be using developers tools that come with Chrome browser. If you use Firefox – download and install the Firebug. Firebug is an extension to . . . → Read More: How to troubleshoot Javascript errors

Survey template

This article explains the inner workings of Survey template.

Before we start I encourage you to check Survey template live demo. Register, then login and add a new Survey. Add questions, answers and answer options where necessary. Once done with setup activate the survey. Now you can take survey, view responses etc.

Purchase Survey template for $50

Application setup

Once you create a project using Survey template you can simply build your project and start using it. Security model is simple. There is one user by default (admin/admin) with full access to all data. There is also Guest account enabled with access to Response view Add page so guest users are able to take surveys without logging in.

There is also Registration page enabled. Users can register and create their own surveys. This option is mostly for demo purposes and you may want to turn it off.

Managing surveys

Once you are logged in create a new survey and add questions. Questions are grouped into groups. If you don't need grouping simply add all question to default group (Group 1).

List of surveys is your start screen. You can add or delete surveys here, make them active or inactive, take surveys and view responses.

Continue reading Survey template »

Best practices: multiple developers working on the same project

Many developers have the need to work collaboratively on the same ASPRunnerPro or PHPRunner project. In this tutorial I’ll show how to make this happen with almost no effort.

We are going to utilize the power of version control system (VCS). Version or revision control systems track and provide control over the changes to . . . → Read More: Best practices: multiple developers working on the same project

Quiz template

This article explains how the Quiz Template works in great details. It can help you better understand the inner workings of this template and provide the guidance you need in designing your own.

Quiz template live demo

Purchase Quiz template for $10.

Lets start with database design. In this tutorial we use MySQL database.

Quiz template database schema

Continue reading Quiz template »

Localizing PHPRunner/ASPRunnerPro applications

In this article we will cover all the aspects of creating multilingual websites with the help of PHPRunner. This process includes the following steps:

Translation of system messages Translation of table/field names and custom labels Translation of data from the database

Translation of system messages

First of all, you need to define the . . . → Read More: Localizing PHPRunner/ASPRunnerPro applications

Masked input in PHPRunner/ASPRunnerPro applications

In this tutorial we are going to use an excellent jQuery Masked Input plugin by Josh Bush.


Continue reading Masked input in PHPRunner/ASPRunnerPro applications »

Taming the beast: Events, Buttons and Code snippets

You can expand the functionality of the web applications built by ASPRunner and PHPRunner by adding ASP and PHP code. Depending on your business needs and the type of data you need to access you can use any of the following 4 vehicles:

Events Button View as: Custom Insert PHP/ASP Code Snippet

Each extension . . . → Read More: Taming the beast: Events, Buttons and Code snippets

Adding GANTT chart to PHPRunner/ASPRunnerPro app

A special thank you to Fred Blau who provided the original jsgantt integration sample.

A Gantt chart is a type of bar chart that illustrates a project schedule. Gantt charts illustrate the start and finish dates of the tasks that belong to this project. Some Gantt charts also show the dependency relationships between activities (tasks). Gantt charts can be used to show current schedule status using percent-complete shadings and a vertical "TODAY" line.

Sample GANTT chart in PHPRunner
Continue reading Adding GANTT chart to PHPRunner/ASPRunnerPro app »

Improving perfomance of PHPRunner/ASPRunnerPro applications

My application is slow. What do I do?

Usually “My application is slow” means one or more list pages take a long time to load. Here are the things you can check in order to improve performance.

Is this issue server specific?

Test your application on at least two different servers i.e. on your local machine and on the remote web server. If you do not have a local web server upload your application to Demo Account to compare the performance.

Just in case test your remote application from two different machines i.e. from work and from home. This will sort out any issues related to Internet connectivity.
Continue reading Improving perfomance of PHPRunner/ASPRunnerPro applications »

Adding Facebook Connect functionality to your application

In this tutorial we are going to use Facebook Javascript SDK.

Here is how you can add Facebook Connect functionality to your PHPRunner application.

1. Register your website to get an app id.

http://developers.facebook.com/setup/

Later you can see your application settings at http://www.facebook.com/developers/apps.php

2. Add ‘Login with Facebook’ button to your application

The natural . . . → Read More: Adding Facebook Connect functionality to your application