WEBDEV Concepts

Part 2: Developing a site 61 Types of code Server code or browser code? Two types of actions can be programmed in a WEBDEV site: Computer of the Web user Actions that can be performed locally (on the computer of the Web user) 1 Server 2 Actions that require a return to the server (dynamic pages) simple input check, ... read information in the database calculations/processes by programming, ... To manage these two types of actions , the WEBDEV code editor differentiates two types of code: • Server code (yellow or pink code in the code editor): This code is written in WLanguage (yellow code) or in PHP (pink code, only available in PHP pages). This code is run on the server. This code is only available in dynamic pages (in Session or AWP mode). • Browser code (green or blue code): This code is written in WLanguage (green code) or in JavaScript (blue code). When the page is saved, this code is automatically converted to JavaScript and included in the WEBDEV HTML pages. This code is run locally (on the computer of the user) and requires no server action.

RkJQdWJsaXNoZXIy NDQ0OA==