Creating your applications can be done in many ways. To get started with PHsPeed, we advise you to use the application wizards as your starting point. It will generate a lot of your application in a configurable way and after that, you can modify the application as you want it. It is not only convenient, but also a very big time saver. Cruds, Grids, Forms, they are all generated in seconds, while building them manually (and you can!) will take much longer.


The approach of your project is a simple 'one-two-three' approach.


1. Configure your database, if you haven't already.


Database configurations are maintained outside your project and can be reused over your projects.


2. Create your project.


By default you can preset the theme to be used, database connection and some other parameters that are required for your application. If you use the simple project, you only need to specify the name of the project, the theme, the database connection, and the default layout to use. 


In advanced mode you can specify more items, but they can always set or changed during development. 


3. Create your applications and (reusable) building blocks.


4. Generate and run.


Best practices.


  • Leave your initial created page blank. You can use it later as your main landing-page of the application.
  • Add your Role-based access (if you need that) later on in the project. You need to synchronize the created project modules into the RBA tables, and if you are still changing your application structure, the content of the RBA modules easily becomes messy and confusing. 
  • Use the application wizards as much as you can. Everything the wizard does, can be done manually, but the wizards offer a consistent way of creating your applications.
  • Use filtering your search criteria with care. See the samples in this manual. A simple 'where' clause can introduce XSS issues, if you follow the guidelines then this will not be an issue. In general: do not simply assign a filter, but use a function to set the filter. The function takes care of the XSS situation. If the filter cannot be changed by the end-user, i.e. a field that is entered to form the filter, then you can safely assign.
  • Keep up with updates. Since version 2.3, PHsPeed is able to update parts of your installation, i.e. a new release of a certain PHP version. If you run into issues, then the first thing you must do is upgrade to the current production version and test again. We need to be able to reproduce your problem in order to fix issues. We do not support older versions of PHsPeed.