Recent

Author Topic: Roadmap for FPC and Lazarus (2023)  (Read 18631 times)

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1223
Re: Roadmap for FPC and Lazarus (2023)
« Reply #60 on: February 20, 2023, 02:35:58 am »
Quote
There is a bizarre opinion in the media that a website should not or cannot be created in languages compiled to machine code. According to this opinion, a website must be created using: Java (JSP, JSF, servlets, etc.), C# (ASP.NET), PHP, Ruby, Python or JavaScript (node.js). And this is not true. This can even be done in pure assembler. I am a bit surprised that no one (meaning: company) has created a library to support websites in C++ so far. Such a well-equipped library (large collection of classes) would be unbeatable by any VM or interpreter-based solutions. The same could be done in Object Pascal.
 
Could it be that people want access to the code that is running the website for some reason? This seems like not such a good idea to let unknown people inspect the code for your website.

If nothing else the compiled code would take up a lot less space and work faster. Wouldn’t it be great if this forum was on a website written in fpc  :D
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

sketch

  • New Member
  • *
  • Posts: 32
Re: Roadmap for FPC and Lazarus (2023)
« Reply #61 on: February 20, 2023, 05:26:45 am »
Quote
Except that for now there is no escape from JavaScript (web browsers).
Is there a way to have a web browser written in fpc that does not use javascript?

You don't need a browser, you can use a text formatter to display html. If you wanted you could add css to it. Plan 9's htmlfmt(1) accepts the protocols
Code: [Select]
^(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)
It is made up of dat.h (50 SLOC), html.c (331 SLOC), main.c (71 SLOC), util.c(120 SLOC)
« Last Edit: February 20, 2023, 05:29:11 am by sketch »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11944
  • FPC developer.
Re: Roadmap for FPC and Lazarus (2023)
« Reply #62 on: February 20, 2023, 09:40:17 am »
has created a library to support websites in C++ so far. Such a well-equipped library (large collection of classes) would be unbeatable by any VM or interpreter-based solutions. The same could be done in Object Pascal. It's just a matter of cost (time). 

2 out of my 3 jobs were using websites created by Delphi code. One was Indy https webserver based, the other using commercial components "WebHub" which could run under both IIS and Apache.

VisualLab

  • Hero Member
  • *****
  • Posts: 575
Re: Roadmap for FPC and Lazarus (2023)
« Reply #63 on: February 20, 2023, 01:31:11 pm »
has created a library to support websites in C++ so far. Such a well-equipped library (large collection of classes) would be unbeatable by any VM or interpreter-based solutions. The same could be done in Object Pascal. It's just a matter of cost (time). 

2 out of my 3 jobs were using websites created by Delphi code. One was Indy https webserver based, the other using commercial components "WebHub" which could run under both IIS and Apache.

I remember that at least since Delphi 5 you could create your own service. It used the Apache server at the time. I also tried to create a set of my own classes. But I'm stuck on CSS.

I have a question: did you use CSS and JavaScript? If so, how was it resolved? Were CSS and JS generated on the fly, buffered after generation, or maybe sent from previously prepared files?

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11944
  • FPC developer.
Re: Roadmap for FPC and Lazarus (2023)
« Reply #64 on: February 20, 2023, 01:37:50 pm »
I remember that at least since Delphi 5 you could create your own service. It used the Apache server at the time. I also tried to create a set of my own classes. But I'm stuck on CSS.

I have a question: did you use CSS and JavaScript? If so, how was it resolved? Were CSS and JS generated on the fly, buffered after generation, or maybe sent from previously prepared files?

The first (Indy) one didn't have any. It was a simple system to do olap like analysis on a database loaded into memory.

The second (webhub) one was a template system pretty much. Manual prepared html/css and js with markers replaced by output of delphi code.   The webmonkeys did the layout, we provided the actual content :D

AFFRIZA 亜風実

  • Full Member
  • ***
  • Posts: 144
Re: Roadmap for FPC and Lazarus (2023)
« Reply #65 on: February 21, 2023, 11:06:55 pm »
I just tried Fresnel demo and playing with it by adding BESEN for lulz I guess. Pretty interesting idea.  O:-)
But, I think this is pretty ambitious project.  :D
Kyoukai Framework: https://github.com/afuriza/kyoukai_framework

Dukung kemerdekaan Donetsk dan Lugansk! Tidak membalas profil berbendera biru-kuning apalagi ber-Bandera.

thierrybo

  • Full Member
  • ***
  • Posts: 143
Re: Roadmap for FPC and Lazarus (2023)
« Reply #66 on: April 26, 2023, 08:37:40 pm »

paweld

  • Hero Member
  • *****
  • Posts: 1268
Re: Roadmap for FPC and Lazarus (2023)
« Reply #67 on: August 19, 2023, 07:40:12 am »
roadmap - video presentation: https://www.blaisepascalmagazine.eu/roadmap-for-fpc-and-lazarus/
edit: corrected link
« Last Edit: August 20, 2023, 03:19:30 pm by paweld »
Best regards / Pozdrawiam
paweld

ccrause

  • Hero Member
  • *****
  • Posts: 970
Re: Roadmap for FPC and Lazarus (2023)
« Reply #68 on: August 19, 2023, 09:36:58 am »
roadmap - video presentation:

Thank you for sharing this recording. I hope more videos will be shared!

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Roadmap for FPC and Lazarus (2023)
« Reply #69 on: August 19, 2023, 09:54:27 am »
did not see anything in the video presentation about CI / CD
too bad ...
Lazarus 2.0.2 64b on Debian LXDE 10

 

TinyPortal © 2005-2018