From: Rafael C. <raf...@gm...> - 2013-11-21 18:15:24
|
Hi, I'm documenting and simplifying FormDesigner.php. If you see improvements in the documentation, please do them or let me know (I am NOT an English native speaker). I think we should standardize the order of the parameters x, y, width, size and alignment as they are in the function addTextWrap(). In this way, I think it would be easier for the user (display-user) and for the programmer (code-user) to understand. If I do this standardization, this will alter the way it currently looks FormDesigner.php for the display-user. Do you agree that I proceed? Best regards, Rafael. 2013/11/20 Rafael Chacón <raf...@gm...> > O.K. For the short term solution, I am working now. > > For the long term solution, some ideas: > > 1. We can do a WYSIWG script as a layer/tier above FormDesigner.php. That > is a script that reads values from the xml file, shows these values as a > graphics to the users, gathers changes done by the users, and writes these > new values to the xml file. > > 2. We can do a xml-form to script-form translator script (or command?). > That is a script that replaces all "$FormDesign->Company->Name->x" with its > correspondent value in the xml file and generates a pure php file. > > 3. We can do a script-form to xml-form to backuper script (is it > possible?). That is a script that transforms the script-form (obtained by software > of the point 2) with the user customization in a xml-form, and then backs > it up in the database. > > Best regards, Rafael. > > > > 2013/11/20 Phil Daintree <ph...@lo...> > >> Agreed - a good plan - for those existing reports where we already have >> it. >> >> I really would prefer that it's use was optional and that a fall back >> standard simple script was available. However, I have not been motivated to >> reinstate the existing scripts as they were to date in the interests of >> maintaining backward compatibility. >> >> I would not like to see the invoice/credit note go to the form designer >> though as this is the one that customers will always want to modify in a >> way the form designer is incapable of. >> >> A WYSIWG form designer would be a separate application/add-on I think. >> >> Phil >> >> Phil Daintree >> Logic Works Ltd - +64 (0)275 567890http://www.logicworks.co.nz >> >> On 20/11/13 06:47, Rafael Chacón wrote: >> >> The long term solution to have a best way to turn the forms modifiable do >> not seems easy. >> >> Meanwhile, we have FormDesigner.php. >> >> My concerns with FormDesigner.php are: >> 1. Poor documentation. E.g. Nowhere indicates that the all coordinates >> are measured from from the lower-left-corner of the sheet to the the >> top-left-corner of the field. (Same problem in pdf generator scripts.) >> 2. The information that is there leads to mistakes. E.g. "mm from the >> left hand side of page", "mm from the top of the page", but measures are in >> dots-per-inch (72 dpi = 25,4 mm). >> >> If all agree, my proposal is to document and simplify FormDesigner.php >> and to add narrative to help the users. Meanwhile, we continue the >> discussion to find out a long term solution. >> >> Best regards, Rafael. >> >> >> 2013/11/19 Phil Daintree <ph...@lo...> >> >>> I think we need a script over-ride solution desperately. >>> >>> A WYSIWG report writer as a separate application would be absolutely >>> magnificent indeed and a really super mission for someone. >>> As I say the code in such a project would almost certainly fall outside >>> the scope of webERP I fear - based on the current goals for the project. >>> >>> Phil >>> >>> Phil Daintree >>> Logic Works Ltd - +64 (0)275 567890 >>> http://www.logicworks.co.nz >>> >>> On 18/11/13 23:12, ExsonQu wrote: >>> > *Hi, Tim:* >>> > >>> > I think it's a good idea to help users who cannot create a >>> pdf >>> > via hard coding. I am not against this. >>> > >>> > What I want to say is that we should pay attention to these >>> > programmers too. I hope we can give these programmers an option to code >>> > without the form designer involved. >>> > It maybe a time to find a way to keep customization >>> maintenance >>> > as easy as possible. The solution may cover this topic as Phil >>> referred to >>> > that an default overwrite mechanism? >>> > It's very time consuming to upgrade webERP for those >>> > customization system. I have little knowledge about this. So I hope >>> somebody >>> > can give some suggestion to solve problem just like the formDesigner. >>> Make >>> > everybody's job easy and happy! >>> > >>> > Thanks and best regards! >>> > >>> > Exson >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> > -- >>> > View this message in context: >>> http://weberp-accounting.1478800.n4.nabble.com/FormDesigner-php-tp4656864p4656898.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 >>> > >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Shape the Mobile Experience: Free Subscription >>> Software experts and developers: Be at the forefront of tech innovation. >>> Intel(R) Software Adrenaline delivers strategic insight and game-changing >>> conversations that shape the rapidly evolving mobile landscape. Sign up >>> now. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Web-erp-developers mailing list >>> Web...@li... >>> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >>> >> >> >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> >> >> >> _______________________________________________ >> Web-erp-developers mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> >> >> >> ------------------------------------------------------------------------------ >> Shape the Mobile Experience: Free Subscription >> Software experts and developers: Be at the forefront of tech innovation. >> Intel(R) Software Adrenaline delivers strategic insight and game-changing >> conversations that shape the rapidly evolving mobile landscape. Sign up >> now. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk >> _______________________________________________ >> Web-erp-developers mailing list >> Web...@li... >> https://lists.sourceforge.net/lists/listinfo/web-erp-developers >> >> > |