<html><head></head><body><div class="ydp2e21c9dcyahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div><div>Hi Darius,</div><div><br></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></div><div>The error<br></div><div><br></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></div><div>actually tells that application is working as intended. If you use example application</div><div><br></div><div><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>then routes that can be accessed is defined in</div><div><br></div><div><a href="https://github.com/fanoframework/fano-app/blob/master/app/Routes/routes.inc" rel="nofollow" target="_blank" class="">https://github.com/fanoframework/fano-app/blob/master/app/Routes/routes.inc</a><br></div><div><br></div><div><br></div><div>So you will be able to access application through following urls</div><div><br></div><div><a href="http://[hostname]/" rel="nofollow" target="_blank">http://[hostname]/</a> (GET)<br></div><div><a href="http://[hostname]/hello/{name}" rel="nofollow" target="_blank">http://[hostname]/hello/{name}</a> (GET/POST)<br></div><div><div><div style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><a 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></div><div><div><div style="color: rgb(0, 0, 0); font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><a 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></div><div><br></div></div><br></div></div></div><div><br></div><div><br></div><div><br></div><div class="ydp2e21c9dcsignature">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><br></div></div><div><br></div>
</div><div id="ydpce5d7381yahoo_quoted_1884871685" class="ydpce5d7381yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, June 28, 2019, 12:29:32 AM GMT+8, Michael Van Canneyt <michael@freepascal.org> wrote:
</div>
<div><br></div>
<div><br></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="ydpce5d7381yqt4078279481" id="ydpce5d7381yqtfd03698"><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="ydpce5d7381yqt4078279481" id="ydpce5d7381yqtfd63173">_______________________________________________<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>