From: Tim S. <tim...@gm...> - 2013-11-15 08:09:13
|
Hi Exson, the point is that you would need a separate table with one record in for each form, this is a sub optimal solution. For this solution (though I am not a great xml fan) xml is a better solution. I am a great believer in choosing the simplest solution for a problem, rather than dogmatically trying to hammer a square peg into a round hole just because you prefer round holes :-) (http://en.wikipedia.org/wiki/KISS_principle). I haven't seen Mark's reply that you refer to, but the answer is that most definitely for a non-programmer the form designer is a million times easier than changing the scripts, and certainly a million times easier than maintaining separate PHP scripts for each company and manually swapping them around every time one of them wants to print a document. Thanks Tim On 15 November 2013 04:09, ExsonQu <hex...@gm...> wrote: > *Hi, Tim,* > > Thank you for your explain. I've not considered this. But xml is > quite regular document so it'll not difficult to parse it and change to a > table format. > > Moreover Mark has a reply, I quoted as following. > > The key point is the form Designer really better than hard coding? > > Thanks and best regards! > > Exson > > > Mark wrote >> Keep it simple? Store it as text? >> >> On 14/11/2013 13:11, TimSchofield1 [via webERP accounting] wrote: >>> Hi Exson, the problem with putting the data into mysql is how to >>> structure the data within the database, rather than how to move it >>> into there. >>> >>> Thanks >>> Tim >>> >>> On 14 November 2013 13:03, ExsonQu <[hidden email] >>> </user/SendEmail.jtp?type=node&node=4656876&i=0>> wrote: >>> >>> > *Dear all:* >>> > >>> > I think I have no right to comment on this case since I >>> have not >>> > understood how to use the form designer. I've tried it before, but >>> did not >>> > master it. So I think the arguments come from how much benefit we >>> can get >>> > from form designer. If there are more evidence about the advantage >>> of it we >>> > can reach an agreement. >>> > >>> > For point 4, I believe it's very convenient to store xml to >>> > mysql. Just use LOAD xml INFILE. You can get more information here: >>> > https://dev.mysql.com/doc/refman/5.5/en/load-xml.html >>> > <https://dev.mysql.com/doc/refman/5.5/en/load-xml.html> >>> > >>> > Maybe a tutorial is necessary for the form designer? >>> > >>> > Thanks and best regards! >>> > >>> > Exson >>> > >>> > >>> > >>> > >>> > >>> > -- >>> > View this message in context: >>> http://weberp-accounting.1478800.n4.nabble.com/FormDesigner-php-tp4656864p4656875.html >>> > Sent from the web-ERP-developers mailing list archive at Nabble.com. >>> > >>> > >>> ------------------------------------------------------------------------------ >>> > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >>> > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >>> > Free app hosting. Or install the open source package on any LAMP >>> server. >>> > Sign up and see examples for AngularJS, jQuery, Sencha Touch and >>> Native! >>> > >>> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >>> > _______________________________________________ >>> > Web-erp-developers mailing list >>> > [hidden email] >>> </user/SendEmail.jtp?type=node&node=4656876&i=1> >>> > https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >>> >>> -- >>> Course View Towers, >>> Plot 21 Yusuf Lule Road, >>> Kampala >>> T +256 (0) 312 314 418 >>> M +256 (0) 752 963 325 >>> www.weberpafrica.com >>> Twitter: @TimSchofield2 >>> Blog: http://weberpafrica.blogspot.co.uk/ >>> >>> ------------------------------------------------------------------------------ >>> >>> DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps >>> OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access >>> Free app hosting. Or install the open source package on any LAMP server. >>> Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! >>> http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Web-erp-developers mailing list >>> [hidden email] >>> </user/SendEmail.jtp?type=node&node=4656876&i=2> >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >>> >>> ------------------------------------------------------------------------ >>> If you reply to this email, your message will be added to the >>> discussion below: >>> http://weberp-accounting.1478800.n4.nabble.com/FormDesigner-php-tp4656864p4656876.html >>> >>> To start a new topic under web-ERP-developers, email >>> > >> ml-node+s1478800n1484626h7@.nabble > >>> To unsubscribe from web-ERP-developers, click here >>> <http://weberp-accounting.1478800.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1484626&code=bWFya0ByaW90ZW50ZXJwcmlzZXMuY28udWt8MTQ4NDYyNnwxMjc3ODkxMjc5>. >>> NAML >>> <http://weberp-accounting.1478800.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >>> > > > > > > -- > View this message in context: http://weberp-accounting.1478800.n4.nabble.com/FormDesigner-php-tp4656864p4656881.html > Sent from the web-ERP-developers mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Web-erp-developers mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/web-erp-developers -- Course View Towers, Plot 21 Yusuf Lule Road, Kampala T +256 (0) 312 314 418 M +256 (0) 752 963 325 www.weberpafrica.com Twitter: @TimSchofield2 Blog: http://weberpafrica.blogspot.co.uk/ |