News from ExtPascal lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- xinyiman · 2016-01-19 10:19 I wanted to inform you that we (thanks to my stubbornness) an installable version and apparently functioning of ExtPascal. Fresh daily fresh You can download it here www.lazaruspascal.it/esempi/ExtPascal-0.9.8-modificato.zip You can still follow the old guide written by me and link to nomorelogic http://www.lazaruspascal.it/index.php?page=110 You have to recover ExtJs only from a different location, which is as follows: http://dev.sencha.com/deploy/ext-3.2.1.zip When creating a new project, make sure you have one of the files are linked to the new project the unit extp_design_ctrls.pas this subdirectory ExtPascal_Toolkit / extp_ctrls add addiction to indylaz and in the section Compiler Options -> Paths to Other file unit (-Fu) put /usr/share/lazarus/1.4.4/components/ExtPascal/;/usr/share/lazarus/1.4. 4/components/ExtPascal/ExtP_Toolkit/extp_ctrls/;/usr/share/lazarus/1.4 .4/components/indy-10.2.0.3/fpc/ obviously changing the path according to where you have installed ExtPascal and indy. Then always compilatore- Options> various add -dWEBSERVER You should now be able to work ---------------------------------------------------------------------- x2nie · 2016-01-19 11:13 I am confusing of what is it. I've visited the ExtPascal in github, and still do not understand. any screenshot of ExtPascal in action? ---------------------------------------------------------------------- xinyiman · 2016-01-19 11:30 Because I think ExtPascal is a nice project but is carried out only by UniGUi at the time (which does not support Lazarus) I took a stable version of ExtPascal not installed on current versions of Lazarus and I modified it to be installable the current version of Lazarus. Including ExtPascal_Toolkit. Tonight place some pictures to show that I can use it from my pc. This is because I'd like to form a group to take the project forward so open source and applicable to Lazarus. ---------------------------------------------------------------------- Leledumbo · 2016-01-19 12:43 Quote from: x2nie on January 19, 2016, 12:13:45 pm I am confusing of what is it. I've visited the ExtPascal in github, and still do not understand. any screenshot of ExtPascal in action? You can think of it as a Pascal enabler for ExtJS (Sencha now), you can create full ExtJS powered web app in Pascal. I didn't remember whether it has form designer or not, but one thing for sure you have access to all of its widgets. ---------------------------------------------------------------------- x2nie · 2016-01-19 13:21 Quote from: Leledumbo on January 19, 2016, 01:43:20 pmYou can think of it as a Pascal enabler for ExtJS (Sencha now), you can create full ExtJS powered web app in Pascal. I didn't remember whether it has form designer or not, but one thing for sure you have access to all of its widgets. Oh! Yes I knew ExtJS / Sencha. I've played with it with javascript+PHP. So, can I someday replace the PHP+Apache with Lazarus, eh? ---------------------------------------------------------------------- Leledumbo · 2016-01-19 13:40 Quote from: x2nie on January 19, 2016, 02:21:52 pmQuote from: Leledumbo on January 19, 2016, 01:43:20 pmYou can think of it as a Pascal enabler for ExtJS (Sencha now), you can create full ExtJS powered web app in Pascal. I didn't remember whether it has form designer or not, but one thing for sure you have access to all of its widgets. Oh! Yes I knew ExtJS / Sencha. I've played with it with javascript+PHP. So, can I someday replace the PHP+Apache with Lazarus, eh? You're late, I and some of FPC users already did it from a long time ago ---------------------------------------------------------------------- xinyiman · 2016-01-19 14:18 My idea would "carry forward this great project," who helps me alone I can not! ---------------------------------------------------------------------- xinyiman · 2016-01-19 22:43 Screenshot ---------------------------------------------------------------------- xinyiman · 2016-01-19 22:43 Screenshot ---------------------------------------------------------------------- x2nie · 2016-01-20 03:02 Quote from: xinyiman on January 19, 2016, 11:43:19 pmScreenshot@xinyiman, great! double thumbs! pictures talk more than 10000 words. ExtJS is very good. Playing it with Lazarus would be doubled very good. Quote from: Leledumbo on January 19, 2016, 02:40:02 pmQuote from: x2nie on January 19, 2016, 02:21:52 pmQuote from: Leledumbo on January 19, 2016, 01:43:20 pmYou can think of it as a Pascal enabler for ExtJS (Sencha now), you can create full ExtJS powered web app in Pascal. I didn't remember whether it has form designer or not, but one thing for sure you have access to all of its widgets. Oh! Yes I knew ExtJS / Sencha. I've played with it with javascript+PHP. So, can I someday replace the PHP+Apache with Lazarus, eh? You're late, I and some of FPC users already did it from a long time ago wow! I have no experience of running webserver using pascal.  I have had in years run upon several Python's webserver (cherrypy, werkzeug, qweb, etc) Beside the ExtPascal (which is new), what library (of lazarus/fpc) you were using? I completely blind in this area. ---------------------------------------------------------------------- Leledumbo · 2016-01-20 05:40 Quote from: x2nie on January 20, 2016, 04:02:04 amwow! I have no experience of running webserver using pascal.  I have had in years run upon several Python's webserver (cherrypy, werkzeug, qweb, etc) Beside the ExtPascal (which is new), what library (of lazarus/fpc) you were using? I completely blind in this area. It's easy when you don't tie your web development knowledge to any particular language, since the standard documents do so as well I mainly use Brook, but am knowledgable in the built-in fpWeb. Both are built on top of fcl-web but Brook has flexible routing which I need and has simpler setup for purely handcoded web apps. fpWeb is designed to take advantage of Lazarus' RAD capabilities by default, though can also be fully handcoded. If you like the best of both worlds, Habari Web Components might serve you better as its both flexible and RAD, while it also has more extensive examples/demos/documentation. ---------------------------------------------------------------------- bee · 2016-01-20 11:01 Here is ExtPascal demo video I've made long time ago. Might be still useful to new ExtPascal users. Enjoy… https://www.youtube.com/watch?v=ZVUMW0V9nGs ---------------------------------------------------------------------- xinyiman · 2016-01-21 14:11 So no one is willing to collaborate on this project ?! ---------------------------------------------------------------------- x2nie · 2016-01-21 14:34 Quote from: xinyiman on January 21, 2016, 03:11:03 pmSo no one is willing to collaborate on this project ?! @xinyiman, what you are talking about? of course there are somebody want to collaborate to good project (like ExtPascal). But, it need time to learn it. Better if you can describe if there is some missing feature or what is your problem?, so someone will try to resolve. I don't see any problem that you have described in this thread/topic. ---------------------------------------------------------------------- xinyiman · 2016-01-21 15:02 At the moment I do not have a problem, but I'd like to form a group that would bring the project forward. Perhaps by establishing work plans shared. ---------------------------------------------------------------------- bee · 2016-01-21 16:32 I've been writing web apps since 2007 using Pascal. Most of my clients don't like web apps that behave like a desktop apps, so ExtJS-like UI is not an option for me. Not to mention the potential problem with ExtJS' license. Even if I used some of ExtJS components, I used them in page flowing layout instead of fixed size layout. Well, it's me, your mile may vary of course. I'll be interested to join if you would also accomodating Bootstrap and Framework7 (for mobile web app). Today web apps must be able to work on mobile browsers and support multiple screen size or responsive design. ---------------------------------------------------------------------- xinyiman · 2016-01-21 16:40 It would be nice , but for what I think there are already other components such as brook and Hadari web components . It would be like reinventing the wheel. ---------------------------------------------------------------------- bee · 2016-01-21 16:50 Habari is a commercial product. AFAIR, Brook is for the back-end, not the front side UI. You may use any JS libraries with Brook, including (but not limited to) ExtJS, Bootstrap, and Framework7. You could even use AngularJS too. ExtPascal's biggest advantage is its ability to work with ExtJS as the front side UI using pascal code, by wrapping ExtJS components into pascal classes. But, AFAIK, noone has ever created pascal wrapper for Bootstrap or Framework7 UI components. This could be both a chance and challange for any pascal programmers who is interested in making mobile-friendly web apps. ---------------------------------------------------------------------- DonAlfredo · 2016-01-21 18:11 I am busy with adapting the OpenUI5 framework to function together with a mORMot REST server. Gives nice results ! https://github.com/LongDirtyAnimAlf/OpenUI5_mORMot/ http://openui5.org/ http://synopse.info/fossil/wiki?name=SQLite3+Framework http://synopse.info/forum/viewtopic.php?id=3067 ---------------------------------------------------------------------- xinyiman · 2016-01-25 07:38 Good job Don Alfredo. ---------------------------------------------------------------------- avra · 2016-01-25 13:24 Quote from: DonAlfredo on January 21, 2016, 07:11:13 pmI am busy with adapting the OpenUI5 framework to function together with a mORMot REST server.Impressive news !!! ---------------------------------------------------------------------- Fpasqueto · 2017-04-04 21:49 I am interested in collaborating with ExtPascal. ---------------------------------------------------------------------- Robert Gilland · 2017-04-06 00:02 I also am interesdted in collabarating with ExtPascal, there is nothing like it. a Pascal UI Web development structure. Elevate is for web apps. I need something more for classic web developments, which uses pascal, and reduces amount of any other knowledge ---------------------------------------------------------------------- Phil · 2017-04-06 00:13 Quote from: Robert Gilland on April 06, 2017, 02:02:06 amI also am interesdted in collabarating with ExtPascal, there is nothing like it. a Pascal UI Web development structure. Elevate is for web apps. I need something more for classic web developments, which uses pascal, and reduces amount of any other knowledge You do realize ExtPascal has been defunct for years now, right? Here's another approach: https://macpgmr.github.io/MacXPlatform/WebAppOverview.html ---------------------------------------------------------------------- Robert Gilland · 2017-04-06 00:21 Thanks for that, I looked at what you have propose, I feel a more Drag and Drop, Delphi Form creation of a web site, like what ExtPascal does, is what I am looking for, don't waqnt to be writing Javascript or html, I can if I must, But the most straight forward approach seems to be the ExtPascal way. Intraweb also looks good, but it doesnt work in lazarus ---------------------------------------------------------------------- Phil · 2017-04-06 00:29 Quote from: Robert Gilland on April 06, 2017, 02:21:15 amThanks for that, I looked at what you have propose, I feel a more Drag and Drop, Delphi Form creation of a web site, like what ExtPascal does, is what I am looking for, don't waqnt to be writing Javascript or html, I can if I must, But the most straight forward approach seems to be the ExtPascal way. Intraweb also looks good, but it doesnt work in lazarus I'm actually the one who wrote the Lazarus design controls for ExtPascal. But the problem with that approach is that you end up with a Web app that looks and, worse, behaves, more like a desktop app than a proper Web app. In particular, it does not fit mobile devices very well, either in how the Web app looks or in how it works. The approach I describe above works better for mobile. To quote: 'Somewhat paradoxically, this kind of "non-visual" UI design often results in a better overall look, since it allows the controls to position and resize themselves "naturally", flowing and filling in the available space on whatever mobile or desktop browser is used to run the app.' ---------------------------------------------------------------------- Robert Gilland · 2017-04-06 00:40 So are you saying there is no way of creating a web site successfully, using mostly pure pascal code? Your solution looks a lot more complicated and foreign to me, then I had hoped. I want pascal code that generates html code, that can be ported to javascript. I think ExtJS does that. ---------------------------------------------------------------------- Phil · 2017-04-06 00:42 Quote from: Robert Gilland on April 06, 2017, 02:40:24 amSo are you saying there is no way of creating a web site successfully, using mostly pure pascal code? Your solution looks a lot more complicated and foreign to me, then I had hoped. I want pascal code that generates html code, that can be ported to javascript. I think ExtJS does that. ExtJS is a JS framework. Has nothing to do with Pascal. Here's a job description I came across recently. This is how modern Web apps are done and the technologies that are used: https://jobs.lever.co/descarteslabs.com/bb0622bf-c158-4ddd-8161- c5aefef187ac ---------------------------------------------------------------------- bee · 2017-04-06 03:59 Quote from: Robert Gilland on April 06, 2017, 02:40:24 amSo are you saying there is no way of creating a web site successfully, using mostly pure pascal code? Your solution looks a lot more complicated and foreign to me, then I had hoped. I want pascal code that generates html code, that can be ported to javascript. I think ExtJS does that. Pascal is a language. Web is a platform. HTML is a document format. Javascript is web browser scripting language. ExtJS is a javascript UI framework. ExtPascal is a pascal framework to work with ExtJS. You mess the whole things up. ---------------------------------------------------------------------- matthius · 2018-03-16 15:03 Can somebody share Ext JS 3.2.1 ? The link is broken. I want to Extend my framework : https://bitbucket.org/matthieugiroux/ ---------------------------------------------------------------------- Phil · 2018-03-16 15:14 Quote from: matthius on March 16, 2018, 04:03:06 pmCan somebody share Ext JS 3.2.1 ? The link is broken. I want to Extend my framework : https://bitbucket.org/matthieugiroux/ Why would you want to start using Ext JS 3.2.1? ---------------------------------------------------------------------- matthius · 2018-03-16 15:37 Ok ExtJS is included. ---------------------------------------------------------------------- Thaddy · 2018-03-16 16:37 Quote from: Phil on March 16, 2018, 04:14:41 pmQuote from: matthius on March 16, 2018, 04:03:06 pmCan somebody share Ext JS 3.2.1 ? The link is broken. I want to Extend my framework : https://bitbucket.org/matthieugiroux/ Why would you want to start using Ext JS 3.2.1? Because it is under  a less restrictive license? (They changed it to GPLv3 after that) Sencha.com -which is the official website - is off-line, btw. So I consider ExtJs abandonware unless there is more information. Aha: "On 23-Aug-2017, Sencha was acquired by IDERA (which in turn owns Embarcadero Technologies). Embarcadero is known for acquisitions of rapid application development software such as Delphi (which relies on Object Pascal as its primary programming language). As a result of this acquisition, many core developers were dismissed from the company". So it is Idera-ware, which is kind of a perpetually postponed abandonware. https://en.wikipedia.org/wiki/Ext_JS Old school business models won't work, but they do not have a grasp yet... ---------------------------------------------------------------------- Thaddy · 2018-03-18 18:38 Sencha.com is online again, but anyway it is Idera owned and no open source licenses are offered. Furthermore the owners of Idera (two capital funds) funded the take over of Idera  and subs. Sencha by overloading it with debts. (Old school theft) ---------------------------------------------------------------------- JD · 2018-03-18 22:30 Quote from: Thaddy on March 18, 2018, 07:38:55 pmSencha.com is online again, but anyway it is Idera owned and no open source licenses are offered. Furthermore the owners of Idera (two capital funds) funded the take over of Idera  and subs. Sencha by overloading it with debts. (Old school theft) A leveraged buyout (LBO). Often followed by an asset stripping exercise. A Finance classic. JD ---------------------------------------------------------------------- Thaddy · 2018-03-19 09:09 LBO is grand theft. And is what is happening. - raise the price - cut development - keep until it makes a loss, but make sure you get any profits in the mean time. - Subsequently fail without risk to shareholders. ---------------------------------------------------------------------- Thaddy · 2018-03-19 10:05 The proper way to go about this is to fork one of the last open sourced releases and maintain it by a community.