for 5) I will add - adding/deleting rows and truncating tables. Stay tuned.
1) I am using directly Json as I haven't really look into JSONRPC of qooxdoo yet. In web2py every request ends with .json return in JSON Serialized result. 2) /HersPOS/default/insert_items.json is the actual request url , the return result is actually JSON 3) Yes they dont do anything yet, i will add login function and also Review page where you can filter by items. OK I will make annoucement on Qooxdoo mailing list too. After studying qooxdoo i am liking it a lot. even it's javascript is fully object oriented and not easy for starter , its really pays off after adapted to it ., main thing is you can really forget about HTML and CSS , jquery , jquery-ui , all other hack and slash libraries. Thanks a lot for trying HersPOS and please enjoy studying , modifying it to your needs. On 11/1/11, wwwgong <wen.g.g...@gmail.com> wrote: > I installed it locally, gave app name=herspos, it worked > It is great learning stuff for a newbie like me. > > I am able to do the following: > 1) browse the Date tree, sales are filtered by date > 2) add sales on 'Sales' tab > 3) add product item on 'Item' tab > 4) I used sqlite db > 5) delete some sales using sqlite browser, this caused front end to > freeze, refresh does not help, but restart the Herspos and see data > refreshed > > > Start reading your codes, I have 3 questions so far, > 1) you are not using @service.jsonrpc decorator, > but json protocal instead, is this documented anywhere? > e.g. > this.row_count_url = "/HersPOS/default/total_rows.json"; > is this considered jsonrpc or something different? > > 2) how come for add button, you don't use json, but switch to Xhr > > var req = new qx.io.request.Xhr("/HersPOS/default/ > insert_items.json?food_name=" + food_name + "&price=" + price + > "&base_price=" + base_price); > > 3) the buttons on toolbar are not doing anything, is it true? > > Have you made announcement on Qooxdoo forum yet? Personally, I think > Qooxdoo has the best javascript UI toolkit, web2py is the simplest > python web framework. Thank you for blazing a path. > > Wen > > > > On Oct 23, 8:53 am, Phyo Arkar <phyo.arkarl...@gmail.com> wrote: >> i also released w2p appliance , can you guys check it out if it works or >> not? >> >> Please note if you install w2p appliance application name needs to be >> changed toHersPOS(Case Sensitive) >> >> Thanks. >> >> Phyo. >> >> On 10/23/11, Phyo Arkar <phyo.arkarl...@gmail.com> wrote: >> >> >> >> >> >> >> >> > Link :http://code.google.com/p/herspos >> > Demo :http://herspos.appspot.com/HersPOS >> >> > On 10/23/11, Phyo Arkar <phyo.arkarl...@gmail.com> wrote: >> >> New Features : >> >> >> -FIltering by date >> >> -Added tabs and seperated items tables / Sales table. >> >> -Demo avaliable on Gae , partially workling (No Sales Table working >> >> but Item table works). >> >> Due to no join avaliable , please suggest me a work around. >> >> >> Thanks >> >> >> Phyo.