⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Uml diagram for grocery crud



AchJaef Erochmady
  • profile picture
  • Member

Posted 03 December 2012 - 14:59 PM

How to create uml sequence diagram for grocery crud ...??? :)

victor
  • profile picture
  • Member

Posted 04 December 2012 - 11:01 AM

Hi AchJaef Erochmady and welcome to the forum.
why do you need it?

AchJaef Erochmady
  • profile picture
  • Member

Posted 04 December 2012 - 11:23 AM

please... somebody can help me.....

AchJaef Erochmady
  • profile picture
  • Member

Posted 04 December 2012 - 11:47 AM

Hi Victors thank for your reply.....I want to create documentation about my code, and I need to understanding the concept about this library....

victor
  • profile picture
  • Member

Posted 04 December 2012 - 12:03 PM

Sorry, I never created such schemes.
I think it will be difficult because the GC library contain about 5000 lines.

AchJaef Erochmady
  • profile picture
  • Member

Posted 04 December 2012 - 12:41 PM

OK thank's victor,,, maybe you can give in outline only

victor
  • profile picture
  • Member

Posted 04 December 2012 - 14:03 PM

I don't know in detail how it works, but i think this info help you.


1) set customer's settings
2) load helpers
3) load language
4) parse url and get status of operation

for example:
when you will click "edit" you will have this url "controller/function/edit/2"
in this case status is "edit".

5) set model
6) get info about tables
7) set theme
8) set operation based on the state

for example:
in this case status is "edit". The library use the "showEditForm" method which get data from db and paste in the form and show it to user.

9) when information in form has been changed and clicked the "save" button the form send on server: in this case status is "insert"
9.1) if validation function return "true", php script sent json about it.
9.2) save the data
Sorry, my English is poor

AchJaef Erochmady
  • profile picture
  • Member

Posted 04 December 2012 - 18:07 PM

thank you so much, very helpful to me,
now I understand it :)



WebRep

Overall rating


This site has no rating
(not enough votes)