Here is my question http://stackoverflow.com/questions/2251813/interaction-between-html-javascript-coder-and-server-scripting-language-coder
I've decided to make activity diagram to describe this process
- user is clicking "edit" button
- preloader is shown to user
- ajax request is sent to url /ajax_request/category/{category_id}/; we are expecting answer in json format
- timer has started; if answer is not recieved within 10 seconds - show alert "Connection timeout, please try to refresh page and try one more time."
- ajax request is recieved into var data
- hide preloader
- check if data.success is false then show alert "Something goes wrong."
- put data.html in container
Here is my diagram ( my first UML diagram :) )
How do you think is it suitable for describing interaction between Javascript coder and PHP coder this way?
Any help is appreciated.
PS: Now I'm looking the way to describe data passed to server and recieved to server. Any ideas?
Thank you.