do we have a wesite that uses lazarus? lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- xenblaise · 2010-10-23 10:02 do we have a wesite that uses lazarus? hi can anyone show a LINK of a website that was design by lazarus using fpweb or web modules. Oh, if jSON was applied? much better. Lets see if there is really is. Thanks Fount out at this, comment by bobo; QuoteKind of late to join the discussion here, but I am now successfully using ExtJS directly with FPC/Lazarus with the latest fcl-web/fpweb with JSON communication (works with XML too, but XML was a big overhead I did not need), also using Ajax calls from the ExtJS side to call the web server CGI/FCGI actions, also using html templates with fptemplate, etc. All works. You need to have the latest FPC 2.5.1 SVN sources and the latest Lazarus SVN sources at the moment, but it works nicely. Ok bobo, be the first one to comment, please show it. ---------------------------------------------------------------------- xenblaise · 2010-10-23 14:10 http://www.sencha.com/products/js/ what about that? I really dont understand what Im asking, maybe your comment will help ---------------------------------------------------------------------- bobo · 2010-10-23 17:10 You should read up on ExtJS on their website. It is a framework for browser based GUI appications. Lazarus and FPC can serve as the back-end server for those applications providing and processing data from/to the GUI client. There are some simple examples and demos included in FPC and Lazarus that can get you started to build web applications. ...lazarus.../components/fpweb/demo/*.* ...fpc../packages/fcl-web/examples/*.*  (the webdata demos are the ExtJS ones) However, you will not find a ready to copy/paste full web site application as a demo. That is why we have programmers. Lazarus/FPC provides the tools to help programmers make these web applications. It is not a ready to install tool-set that only needs configuration from the end user. ---------------------------------------------------------------------- xenblaise · 2010-10-23 23:43 bobo? QuoteIt is a framework for browser based GUI appications. Framework for what? framework for fpweb? cgi? Oh, like Zend Framwork for PHP? or Sympony or Cake? Quote How would you compare this toos to RadPhp http://www.micromail.com/product_images/micromail.com/RadPHP_XE_Datash eet.pdf http://www.qadram.com/vcl4php/docwiki/index.php/What_is_RadPHP_XE I'd like to hear your comment for this topic. If I've answered or asked wrong, excuse me ---------------------------------------------------------------------- felipemdc · 2010-10-24 06:08 http://www.lazarussupport.com/ is written in fpWeb / Free Pascal. ---------------------------------------------------------------------- Leledumbo · 2010-10-25 03:31 Another one: http://services.cnoc.nl/lazarus/ ---------------------------------------------------------------------- xenblaise · 2010-10-25 14:05 I'm glad to see the pages. I think the site is using fastcgi ? How would you compare "FCL-Web" to the other web development tools like "radphp" ? http://www.micromail.com/product_images/micromail.com/RadPHP_XE_Datash eet.pdf http://www.qadram.com/vcl4php/docwiki/index.php/What_is_RadPHP_XE or others like perl, php, xhtml ? ---------------------------------------------------------------------- Leledumbo · 2010-10-26 00:16 QuoteI think the site is using fastcgi ?Not really sure, but it's easy to switch between cgi, fastcgi and apache module. With WebDesign package, it can even be done with a single define. QuoteHow would you compare "FCL-Web" to the other web development tools like "radphp" ?IMHO the same as Lazarus + WebDesign package, I haven't tried RadPHP though. Quoteor others like perl, php, xhtml ?perl and php: interpreted, slow, difficult to debug, but has a lot of frameworks to choose and a big community. (x)html: well... this one shouldn't be included since this is like the assembly of a web application. Our application (with any other language) should produce this as the final output. ---------------------------------------------------------------------- xenblaise · 2010-10-26 05:49 QuoteLazarus + WebDesign package So if I'll make a website and use (Lazarus + WebDesign package) I don't need a web application server like apache or iis? because Lazarus has the engine? ---------------------------------------------------------------------- Leledumbo · 2010-10-26 07:16 QuoteI don't need a web application server like apache or iis? because Lazarus has the engine?No, if you use the embedded webserver (and you can debug your website from the IDE as well!) ---------------------------------------------------------------------- xenblaise · 2010-10-26 10:47 QuoteNo, if you use the embedded webserver huh, What component is that? ---------------------------------------------------------------------- Leledumbo · 2010-10-26 12:02 The WebDesign package contains 3 packages for Lazarus IDE: WebDesign itself, embweb for lnet based embedded webserver, and jQuery wrapper. Download them from here. ---------------------------------------------------------------------- xenblaise · 2010-10-26 12:06 YES Thank you ---------------------------------------------------------------------- asdf · 2011-03-01 15:38 I got the error message while compiling 'embweb' package. What should be done next ? ---------------------------------------------------------------------- Leledumbo · 2011-03-01 17:35 use fpembweb from svn, or use fppkg version. the one from that website is obsolete. ---------------------------------------------------------------------- asdf · 2011-03-02 04:48 Quote from: Leledumbo on March 01, 2011, 06:35:49 pmuse fpembweb from svn,... From SVN, it also had the same error. Please help. ---------------------------------------------------------------------- asdf · 2011-03-02 12:40 ---------------------------------------------------------------------- Marc · 2011-03-02 13:28 Quote from: asdf on March 01, 2011, 04:38:02 pmI got the error message while compiling 'embweb' package. What should be done next ? Try to fix it ? The error message is clear: TCustomEmbWebApplication tries to override the method "WaitForRequest" of  TCustomWebApplication, which does not have the "WaitForRequest" method. So verify if you have the latest TCustomWebApplication, and if so, that class may heve been changed, so look is a similar method exists, then adapt the TCustomEmbWebApplication so that is works with the new method. ---------------------------------------------------------------------- Leledumbo · 2011-03-02 16:59 And do you also have the svn version of lazarus and fpc? Mine here is working fine.