2. Each page has two files
a .php file
wich contains
the page
structure
and a .code.php
file wich contains
the interface
logic
3. You can listen do UI events
You can add
event listeners
to components
When the event s fired on the interface, NeoBase will
automatically synchronize the client interface state on the
server thought an AJAX request and call your function
4. And modify the UI from the PHP code
When you modify a page component
NeoBase keeps track of the changes
and send the modifications to the
interface.
5. If you prefer, you can do this from JS
You can modify components using NeoBase
Javascript API and the framework will update the
PHP instance of your component before run your
PHP code in the next AJAX request.