Sign in Join

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

Mailing lists / lazarus / 2012-02

fpweb fcl-web

8 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Juha Manninen

Hi

I am trying to make a cgi app for an embedded ARM machine. I have a native FPC for it, I don't need cross-compiling.
I looked at fpweb package. Its example dir has a README: "
The examples were moved to the FPC sources.
See <fpcsrc>/packages/fcl-web/examples
"
Do I actually need fcl-web, not fpweb, or do I need both? Any "Getting Started" guides?

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120223/518a2aad/attachment.html>

Reply by email

Unknown author
to Juha Manninen
Juha Manninen wrote 11 lines
Hi I am trying to make a cgi app for an embedded ARM machine. I have a native FPC for it, I don't need cross-compiling. I looked at fpweb package. Its example dir has a README: " The examples were moved to the FPC sources. See <fpcsrc>/packages/fcl-web/examples " Do I actually need fcl-web, not fpweb, or do I need both? Any "Getting Started" guides?

The names are interchangeable. You need it to create CGI apps using the FPC framework for web programming.

Michael.

Reply by email

Reimar Grabowski
to Unknown author
Show quoted text 6 lines
> Do I actually need fcl-web, not fpweb, or do I need both? > Any "Getting Started" guides? The names are interchangeable. You need it to create CGI apps using the FPC framework for web programming.

Second question nicely dodged. ;)

R.

Reply by email

Juha Manninen
to Felipe Monteiro de Carvalho: On Fri, Feb 24, 2012 at 11:49 AM, Felipe Monteiro de Carvalho Ops, didn't see that Juha…

2012/2/24 Felipe Monteiro de Carvalho

Show quoted text 5 lines
Ops, didn't see that Juha was asking the original question =D Sorry for answering like that. There are probably some articles on the subject that Michael can send you.

No problem.
In fact the examples are good and learning with them would be easy. Now the problem only is that this whole thing doesn't work well with FPC2.4.4 which is the default version in Ubuntu.
Also, Lazarus gave errors when trying to open a webform. It started to install an extra package but failed.

I realised I can't use it now for our embedded ARM project. The ARM machine has Ubuntu and the development machines will have Ubuntu or Windows. I will make some web UIs using PHP instead. It will only write config files and is not speed critical.
This is not criticism for the FPC/Lazarus web packages. I believe they are good in recent versions. Configuring the tool-chain just would be too difficult now. There are many people participating and the project is already challenging enough.

The project is about making an internet router using a DreamPlug ARM + Linux based gatget and any open source SW. The router performance will be interesting. It has a fast 1.2 GHz CPU and 2 fast ethernet connections. However commercial routers (like Cisco) use custom hardware for fast throughput.

We should have a proof-of-concept version ready soon and then we join other similar groups in a 2 week session and regroup the people to finish the other projects. Uhhh... let's see how we manage to pull it all together.

Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20120224/351146d2/attachment-0001.html>

Reply by email

Felipe Monteiro de Carvalho
to Juha Manninen

2012/2/24 Juha Manninen :

Now the problem only is that this whole thing doesn't work well with FPC2.4.4 which is the default version in Ubuntu.

Yep, it doesn't, but 2.6.0 is pretty good. I have a large project using fpweb and I even added a {$fatal for FPC 2.4 to remind me not to use it in that project.

Also, Lazarus gave errors when trying to open a webform. It started to install an extra package but failed.

For me it all worked nicely with a SVN IDE from a few months ago.

Felipe Monteiro de Carvalho

Reply by email