Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 613203
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:58:37+00:00 2026-05-13T17:58:37+00:00

Here is my question Interaction between HTML/Javascript coder and server scripting language coder? I’ve

  • 0

Here is my question Interaction between HTML/Javascript coder and server scripting language coder?

I’ve decided to make activity diagram to describe this process

  1. user is clicking “edit” button
  2. preloader is shown to user
  3. ajax request is sent to url /ajax_request/category/{category_id}/; we are expecting answer in json format
  4. 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.”
  5. ajax request is recieved into var data
  6. hide preloader
  7. check if data.success is false then show alert “Something goes wrong.”
  8. put data.html in container

Here is my diagram ( my first UML diagram 🙂 )

alt text http://img2.pict.com/a4/77/73/2821248/0/screenshot2b106.png

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T17:58:37+00:00Added an answer on May 13, 2026 at 5:58 pm

    Your diagram does represent what you are trying to communicate – the sequence of actions the Java script programmer should implement. Look at the diagram does it say much more than the text? Do you think it’s so much easier to read? Personally, I find diagrams like this not too useful. My suugestion would simply be to use a storyboard, drawn in Vision or powerpoint or whatever.

    You can use state diagrams to represent screen flows, but in todays Web 2.0 Ajax world things are not so screen oriented, so I’m inclined to use the storyboard instead.

    I would use class diagrams to design significant objects: the service you are calling and the data passed to the service and from the service. If the screens are complex I might also have a class diagram for each screen making very clear what data is to be represented.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 461k
  • Answers 461k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I write this by looking at this java example: http://github.com/adamac/Java-WebSocket-client/blob/master/src/com/sixfire/websocket/WebSocket.java… May 16, 2026 at 12:04 am
  • Editorial Team
    Editorial Team added an answer I've found a solution for this problem, using FLARManager. http://words.transmote.com/wp/flarmanager/flarmanager-documentation/#flarManagerSettings_inverted… May 16, 2026 at 12:04 am
  • Editorial Team
    Editorial Team added an answer Short answer is no, if you want it to exist… May 16, 2026 at 12:04 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.