Third-party JavaScript components can be integrated into a PHPRunner application without replacing the generated page. The same general approach works for data grids, charts, editors, calendars and many other browser-based components.

The integration usually has five parts:

  1. Add the component’s JavaScript and CSS files to the project.
  2. Add a container to the page where the component will be displayed.
  3. Make the required data available to JavaScript.
  4. Initialize the component after the page is ready.
  5. Add only the CSS needed to make the component fit the rest of the application.

In this tutorial we will use Tabulator, a JavaScript data-grid component, as a practical example. The important part is the integration pattern rather than Tabulator itself.


Tabulator data grid integrated into a PHPRunner application

Continue Reading "Integrate Third-Party JavaScript Components with PHPRunner"

Lets say you run a mini-hotel and need to build a very simple reservation system. In this article we will show how avoid double-booking only showing the rooms that are available for selected date range. Similar approach can be applied to any other reservation system i.e. if you need to build conference rooms reservation app.

In our database we need two tables, Rooms and Reservations.

Continue Reading "Building a hotel reservation system"

Version 10 makes creating multi-column forms easier. In previous versions you needed to select layout on Style Editor page. In version 10 you can do this right in Page Designer and you can change it at any time without resetting the page. Changes you made to your page will no be lost.

In this article we use Customers table from Northwind database. In Page Designer select Edit page. Here is how it looks by default (all images are clickable):

Continue Reading "Using multi-column design in version 10"

The code base for the MS SQL server of version 7 was initially sold by the original company Sybase SQL server to the software giant of the cyber space Microsoft. It was the first entry of the Microsoft Company to the database market at the enterprise level. The objective was to compete against other companies like IBM and ORACLE. It was actually Microsoft, Sybase and the Adaptive that originally formed a team to create and launch the very first version of the SQL server 1.0…Continue Reading “All about the History of SQL Server”

PHPRunner 9 adds an option to build and package desktop applications as well as web applications. In this article we’ll try to answer most common questions and explain what PHPRunner desktop applications can and can not do.

How it works

First of all, Desktop apps functionality is built on the top of wonderful open source PHP Desktop project. PHP Desktop packages together the following software components:

  • web server (Mongoose)
  • PHP
  • Chrome browser
Continue Reading "Desktop applications with PHPRunner"

This is a just for fun PHPRunner project similar to one we built for World Cup 2014. Check this live demo first.

This project requires PHPRunner 9.0. Yes, there is a desktop app for this project. Download it, install it, run it and enjoy. Ignore the security warning, we didn’t sign this one yet.

This project uses live Euro 2016 data provided by football-data.org in JSON format. PHPRunner project makes the use of this data and if will not work if they website is down for any reason.

Continue Reading "Displaying EURO 2016 data with PHPRunner"

Web applications generated by PHPRunner, ASPRunner.NET or ASPRunnerPro communicate with databases via means of SQL queries. Whenever you search, edit or delete data your web application issues a series of SQL queries, gets results back and displays it on the web page. Understanding the basics of SQL will help you build better apps and find errors faster.

Our code generators come will handy option to display all SQL queries application executes. For this purpose you can add the following line of code to AfterApplicationInitialized event:

In PHPRunner

$dDebug = true;
Continue Reading "Troubleshooting SQL queries"