From Ape Wiki
(Redirected from Tutorials)
[edit] APE Tutorials
APE Basics
- Introduction to APE : Learn the basics, how the server and the client exchange data, what is the communication system.
- Introduction to APE Javascript Framework : What is APE JSF, how the APE JSF works.
- How to write an application with APE : Explore different ways to create an application with APE. Modules, external push, proxying (TCP socket), client side.
Start playing with your APE
- Color changer : Simple application written with jQuery. You will learn how to write a server module and exchange data between client and server in just a few lines of code.
- Hello world : Hello world example, that show APE JSF basics in action.
- Understanding APE JSF events : What are JSF events, how catch them, onRaw, onCmd, addEvent and pipe events.
- Create custom command : In the hello world tutorial you saw how to send message, here you'll see how send object and how to create your first javascript server module!
- How to create server side JavaScript modules
- How to use MySQL in your JavaScript modules Connect to MySQL, handle timeout and error, send data from a request to a client (server side and client side example)
- Understanding pipe : What is pipe, what can you do with them.
- Uni pipe and Multi pipe with APE JSF : Start playing with pipe, create Multi pipe, Uni pipe and read pipe property
- APE and JQuery Shoutbox demo : A simple shoutbox demo made with JQuery 1.4.
Other topics
- TCPSocket : Bring socket API to the client-side using APE
- APE transport method : Use different transport method to do cross domain push or low latency request
- Using session : Understand what is session, make your application "persistent"
- SSL with APE : How to add SSL support to your APE Server with stunnel.
- How to debug APE segfault
Code sample
- Control channel access : Code sample that show how to control channel access (allow or not user to join it). It includes also an example that use a php callback to check if user is allowed or not.
- var_dump and var_export on server side : Function that allow you to dump any kind of var (like php var_dump/export)
External resources
Pages in category "Tutorial"
The following 27 pages are in this category, out of 27 total.


