<html><head></head><body><div class="ydpbe868d2fyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div>Live example of <a href="https://github.com/fanoframework/fano-app" rel="nofollow" target="_blank" class="">https://github.com/fanoframework/fano-app</a></div><div><br></div><div>when deploy and setup correctly with web server can be access here <a href="https://fano.juhara.id/hello/darius" rel="nofollow" target="_blank" class="">https://fano.juhara.id/</a></div><div><br></div><div>So you will be able to access for example</div><div><br></div><div><a href="https://fano.juhara.id/hello/darius" rel="nofollow" target="_blank">https://fano.juhara.id/hello/darius</a> or <a href="https://fano.juhara.id/hello/darius/json" rel="nofollow" target="_blank">https://fano.juhara.id/hello/darius/json</a> (JSON output)<br></div><div><br></div><div>Unless you sent POST request, you will get exception EMethodNotAllowed if you try to browse to <a href="https://fano.juhara.id/hi/darius" rel="nofollow" target="_blank">https://fano.juhara.id/hi/darius</a> </div><div>because route for hi/{name} only defined for POST request.</div><div><br></div><div><br></div><div class="ydpbe868d2fsignature">Zamrony P. Juhara<br>Website: <br><a href="http://v3.juhara.com " rel="nofollow" target="_blank">http://v3.juhara.com</a><br>Blog:<br><a href="http://zamronyp.juhara.com " rel="nofollow" target="_blank">http://zamronyp.juhara.com</a><br><a href="http://delphindo.wordpress.com" rel="nofollow" target="_blank">http://delphindo.wordpress.com</a> (kontributor)<br><br>Github:<br>https://github.com/zamronypj<br><br>Stackoverflow:<br>http://stackoverflow.com/users/5855039/zamrony-p-juhara<br><br>Google Play Store:<br><a href="http://goo.gl/gCs4Bc" rel="nofollow" target="_blank">http://goo.gl/gCs4Bc</a><br><span style="color: rgb(38, 40, 42);"><br></span></div><div class="ydpbe868d2fsignature">On Saturday, June 29, 2019, 10:31:33 AM GMT+8, Zamrony P. Juhara via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:<br></div></div><div id="ydp3e33bf87yahoo_quoted_2050076604" class="ydp3e33bf87yahoo_quoted"><div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                <div><br></div>
                <div><br></div>
                <div><div id="ydp3e33bf87yiv5254436967"><div><div class="ydp3e33bf87yiv5254436967ydp2e21c9dcyahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div>Hi Darius,</div><div><br clear="none"></div><div>I am author of Fano Framework. I encourage people to try Fano Framework, but as of now, I would not advise you to use it on production setup. While many of web framework features are already built, they have not been tested on production.</div><div><br clear="none"></div><div>The error<br clear="none"></div><div><br clear="none"></div><div><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">Exception class : <strong>ERouteHandlerNotFound</strong></div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;">Message : <strong>Route not found. Method: GET Uri: /cgi-bin/app.cgi</strong></div></div><br clear="none"></div><div>actually tells that application is working as intended. If you use example application</div><div><br clear="none"></div><div><a shape="rect" class="ydp3e33bf87yiv5254436967" href="https://github.com/fanoframework/fano-app" rel="nofollow" target="_blank">https://github.com/fanoframework/fano-app</a> </div><div><br clear="none"></div><div>then routes that can be accessed is defined in</div><div><br clear="none"></div><div><a shape="rect" class="ydp3e33bf87yiv5254436967" href="https://github.com/fanoframework/fano-app/blob/master/app/Routes/routes.inc" rel="nofollow" target="_blank">https://github.com/fanoframework/fano-app/blob/master/app/Routes/routes.inc</a><br clear="none"></div><div><br></div><div><br></div><div><br></div><div><br clear="none"></div><div><br clear="none"></div><div>So you will be able to access application through following urls</div><div><br clear="none"></div><div><a shape="rect" href="http://[hostname]/" rel="nofollow" target="_blank">http://[hostname]/</a> (GET)<br clear="none"></div><div><a shape="rect" href="http://[hostname]/hello/{name}" rel="nofollow" target="_blank">http://[hostname]/hello/{name}</a> (GET/POST)<br clear="none"></div><div><div><div style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;"><a shape="rect" href="http://[hostname]/hello/%7Bname%7D" style="color:rgb(25, 106, 212);text-decoration-line:underline;" rel="nofollow" target="_blank">http://[hostname]/hello/{name}</a>/json (GET/POST) => output is JSON for example http://[hostname]/hello/darius<br clear="none"></div><div><div><div style="color:rgb(0, 0, 0);font-family:Helvetica Neue, Helvetica, Arial, sans-serif;"><a shape="rect" href="http://[hostname]/hello/%7Bname%7D" style="color:rgb(25, 106, 212);text-decoration-line:underline;" rel="nofollow" target="_blank">http://[hostname]/hi/{name}</a> (POST)<br clear="none"></div><div><br clear="none"></div></div><br clear="none"></div></div></div><div><br clear="none"></div><div><br clear="none"></div><div><br clear="none"></div><div class="ydp3e33bf87yiv5254436967ydp2e21c9dcsignature">Zamrony P. Juhara<br clear="none">Website: <br clear="none"><a shape="rect" href="http://v3.juhara.com " rel="nofollow" target="_blank">http://v3.juhara.com</a><br clear="none">Blog:<br clear="none"><a shape="rect" href="http://zamronyp.juhara.com " rel="nofollow" target="_blank">http://zamronyp.juhara.com</a><br clear="none"><a shape="rect" href="http://delphindo.wordpress.com" rel="nofollow" target="_blank">http://delphindo.wordpress.com</a> (kontributor)<br clear="none"><br clear="none">Github:<br clear="none">https://github.com/zamronypj<br clear="none"><br clear="none">Stackoverflow:<br clear="none">http://stackoverflow.com/users/5855039/zamrony-p-juhara<br clear="none"><br clear="none">Google Play Store:<br clear="none"><a shape="rect" href="http://goo.gl/gCs4Bc" rel="nofollow" target="_blank">http://goo.gl/gCs4Bc</a><br clear="none"><br clear="none"></div></div><div><br clear="none"></div>
        
        </div><div class="ydp3e33bf87yiv5254436967ydpce5d7381yahoo_quoted" id="ydp3e33bf87yiv5254436967ydpce5d7381yahoo_quoted_1884871685">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div class="ydp3e33bf87yiv5254436967yqt4095354761" id="ydp3e33bf87yiv5254436967yqt29352"><div>
                    On Friday, June 28, 2019, 12:29:32 AM GMT+8, Michael Van Canneyt <michael@freepascal.org> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div dir="ltr"><br clear="none"><br clear="none">On Thu, 27 Jun 2019, Darius Blaszyk wrote:<br clear="none"><br clear="none">> Hi all,<br clear="none">> <br clear="none">> I have been asked to write a limited functionality / mini ERP type of software for an NGO that is setting up a hospital. I'm doing this in my own time and free of charge. The compiler and IDE of choice are of course FreePascal & Lazarus. I’m still thinking about the direction to go exactly with this and I was hoping to get some feedback/support from the community here as I always have gotten over the years.<br clear="none">> <br clear="none">> The hardware of choice is already made and will be a network of several<br clear="none">> Chromebooks on which all staff will be logging in the system.  This made<br clear="none">> me think that a desktop application is less feasible and I should look at<br clear="none">> a web-based solution.  I found some frameworks such as ExtPascal, fano,<br clear="none">> Brook, pas2js.  Unfortunately, I don't know much about web-based<br clear="none">> applications.  So my question is whether any of the frameworks are mature<br clear="none">> enough to create a database driven application as described.  Possibly<br clear="none">> there are other frameworks available that I don't know of but are worth<br clear="none">> investigating?<br clear="none"><br clear="none">ExtPascal was a dead end and is now effectively dead (unless I am<br clear="none">misinformed).<br clear="none"><br clear="none">I can't inform you about fano.<br clear="none"><br clear="none">As for the others:<br clear="none"><br clear="none">Brook & Pas2js are definitely worth investigating.<br clear="none"><br clear="none">Brook is a long-standing server platform for FPC.<br clear="none"><br clear="none">pas2js is used as the basis for TMS Web Core (a commercial product for<br clear="none">Delphi/lazarus. pas2js is meanwhile very mature. (I use it myself extensively :))<br clear="none">You must use this if you wish to include a lot of browser-side<div class="ydp3e33bf87yiv5254436967ydpce5d7381yqt4078279481" id="ydp3e33bf87yiv5254436967ydpce5d7381yqtfd03698"><br clear="none">functionality.</div><br clear="none"><br clear="none">If it is for charity, you could try getting a TMS Web core license for free.<br clear="none">Programming then becomes like creating a desktop program; drag&drop.<br clear="none"><br clear="none">For server-side database Access, there is sqldbRestBridge. <br clear="none">It is fairly new, but is scheduled to be included in TMS WEB core.<br clear="none"><br clear="none">You can also simply program using fcl-web: simple HTTP request/response. <br clear="none">All the others are based on top of it, if I am correct.<br clear="none"><br clear="none">If you use bare-bones fcl-web, it's a bit like PHP: you always generate the<br clear="none">full HTML on the server.<br clear="none"><br clear="none">Doubtlessly, there are other frameworks to work with. I work with the above<br clear="none">ones (and developed 3 our of 4 :)) so I am of course giving a biased view...<br clear="none"><br clear="none">Michael.</div><div class="ydp3e33bf87yiv5254436967ydpce5d7381yqt4078279481" id="ydp3e33bf87yiv5254436967ydpce5d7381yqtfd63173">_______________________________________________<br clear="none">fpc-pascal maillist  -  <a shape="rect" href="mailto:fpc-pascal@lists.freepascal.org" rel="nofollow" target="_blank">fpc-pascal@lists.freepascal.org</a><br clear="none"><a shape="rect" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="nofollow" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br clear="none"></div></div></div>
            </div>
        </div></div></div><div class="ydp3e33bf87yqt4095354761" id="ydp3e33bf87yqt62734">_______________________________________________<br clear="none">fpc-pascal maillist  -  <a shape="rect" href="mailto:fpc-pascal@lists.freepascal.org" rel="nofollow" target="_blank">fpc-pascal@lists.freepascal.org</a><br clear="none"><a shape="rect" href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal" rel="nofollow" target="_blank">https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a><br clear="none"></div></div>
            </div>
        </div></body></html>