Peter That demo is great for those who are familiar with 4D. The one aspect that I struggle with is outputting a modern UI. And for that matter I don't see many examples that demonstrate this either. In 4D this was just a matter of "drag and drop", add the colours, formats, handle the events and you are done. For the web you need to understand frameworks, HTML, Typescript/ Javascript, Angular, Wakanda whatever.. I am sure a lot of lazy 4D developers like me are facing similar challenges. A single developer can develop a full blown VMA on his/ her own. I am not sure this is even possible with any of the current web technologies. My preference has always been to start with a bootstrap template so you have the basic menu, buttons, navigation pane, search, login, grids and other objects ready for you to start coding.
I will be sold on any 4D based plugin or component that can demonstrate this. On Thu, Jan 19, 2017 at 8:14 AM, Peter Jakobsson <[email protected]> wrote: > Hello ernie > > > But, I have tried four time to 'get a grip' on Active4D, I slam into > text (manuals) that makes no cense to me and does not empower me to > continue to want to 'learn' this fantastic product > > Indeed, I feel your pain. Some of the documentation and material focuses > more on the powerful, fancy stuff that Active4D can do rather than the > simple. > > For that reason I’ve created a small demo for you in case you find it more > accessible. In the time since you made that post I’ve both cooked my > daughter’s dinner and created this 1-page site containing active content > generated in pure 4D script written directly into the web page. The beauty > of this approach is that it levers what you already know and doesn’t > require acquiring a whole new active script skill set. (Clearly for some > stuff you always do such as Javascript etc). > > The demo page demonstrates queries, writing data to a table, reading data > from the table and outputing to html as well as calling into native 4D > methods and commands from the web page. > > What I did: > > 1. Downloaded the Active4D shell from here: http://www.aparajitaworld.com/ > downloads/ > 2. Created a table and 1 method (the “getRoman” function) > 3. Opened TextMate and wrote the code you see below > 4. Saved the page in the “web” folder next to my structure (“mypage.a4d”) > > Here’s the finished page output: > https://s29.postimg.org/892ryx4g7/page.png > > Here’s active web page code containing 4D code written into the html > between percent tags: > https://s24.postimg.org/xwguynfrp/code1.png > https://s27.postimg.org/hjf1128wz/code2.png > > Here’s the structure: > https://s29.postimg.org/67cmogc47/structure.png > > Here’s Active4D helping me debug the finished result: > https://s30.postimg.org/m6sps0p6p/debug.png > > I’ve sent you the demo by PM in case you’d like to explore it. ill be > happy to do so for anyone else that wants it. > > Hope that helps although I realise you may already have got past this > stage but many people don’t even get that far as they are under the > impression that the learning curve is steeper. > > Best Regards > > Peter > > > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:[email protected] > ********************************************************************** > -- xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "There must be ingenuity as well as intention, strategy as well as strength. " ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

