Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-other / 2011-06

fpWeb lecture

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Leonardo M. Ramé
to ik

A not so complicated app would be a JSon server created using fpWeb with WebData JSon adapter connected to two frontends, one using ExtJS and the other using a desktop application. The server should get data from a database server.

With such app, you'll be showing many strenghts of fpWeb/fpc. Also it would be nice to show how easy is to switch from an embedded http app (take a look at the new fphttpapp unit) for debugging to cgi/fcgi.

Leonardo M. Ramé
http://leonardorame.blogspot.com

________________________________

Earlier message 22 lines
From: ik To: Other FPC related discussions. ; Sent: Thursday, June 9, 2011 10:30 AM Subject: [fpc-other] fpWeb lecture Hello, I'm going to lecture at the end of this month in pyWeb-IL about fpWeb. I'm looking for ideas on what to present regarding fpWeb. I have a bout 45 minutes to lecture. Thanks, Ido LINESIP - Opening the source for communication http://www.linesip.com http://www.linesip.co.il

Reply by email

ABorka
to Leonardo M. Ramé
...how easy is to switch from an embedded http app (take a look at the

new fphttpapp unit) for debugging to cgi/fcgi.

With FCGI you do not even need embedded server for debugging. Using the External FCGI Server way, you can debug the FCGI application directly from Lazarus with any web server.

AB

Reply by email

Leonardo M. Ramé
to ABorka

----- Original Message -----

Earlier message 17 lines
From: ABorka To: Other FPC related discussions. Cc: Sent: Thursday, June 9, 2011 2:12 PM Subject: Re: [fpc-other] fpWeb lecture >...how easy is to switch from an embedded http app (take a look at the new fphttpapp unit) for debugging to cgi/fcgi. With FCGI you do not even need embedded server for debugging. Using the External FCGI Server way, you can debug the FCGI application directly from Lazarus with any web server. AB I know that. I was referring to how easy is to change from embedded to fastcgi to cgi with fpWeb.   Leonardo M. Ramé http://leonardorame.blogspot.com

Reply by email

ABorka
to ik: I'm going to lecture at the end of this month in pyWeb-IL about fpWeb. I'm looking for…
Show quoted text 7 lines
I'm going to lecture at the end of this month in pyWeb-IL about fpWeb. I'm looking for ideas on what to present regarding fpWeb. I have a bout 45 minutes to lecture. Thanks, Ido

First, you could show a simple CGI/FCGI/Apache module hello world to show whats the difference between them (basically only the .lpr file) then you can go demonstrate with FCGI anything you want while live debugging if needed.
Could show how to use templates (fptemplate) with fpweb before demonstrating the use of frameworks like ExtJS (JSON).

Do not forget that you need the latest SVN fpweb files from FPC (.../packages/fcl-web) as many fixes were implemented in the past weeks.

AB

Reply by email