Recent

Author Topic: ExtPascal with GUI in action!  (Read 36648 times)

bee

  • Sr. Member
  • ****
  • Posts: 393
ExtPascal with GUI in action!
« on: May 23, 2010, 01:56:57 pm »
Just to inform everybody that ExtPascal is still alive and kicking. To have intraweb-like development using Lazarus is now possible.

Check this out: http://youtube.com/watch?v=ZVUMW0V9nGs

We know that this project is still far from perfect. If you're interested to this framework, please come and join our project.

Visit us at: http://extpascal.googlecode.com

Also, you may want to check these out:

- ExtPascal samples
- FishFactDemo as in Delphi
- classes documentation
- other video tutorials
- and, ExtPascal discussion group

Help us making FPC/Lazarus also as tool for web app development, especially for RIA (rich internet app). Everybody is welcomed.

Thank you.
-Bee-

A long time pascal lover.

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: ExtPascal with GUI in action!
« Reply #1 on: May 24, 2010, 12:01:34 pm »
Looks fantastic!!; I'll test some examples.  :)

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: ExtPascal with GUI in action!
« Reply #2 on: May 24, 2010, 03:49:33 pm »
I've been following the developments of ExtPascal for a while now & I want to commend you for the good job you're doing.
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Chronos

  • Full Member
  • ***
  • Posts: 240
    • PascalClassLibrary
Re: ExtPascal with GUI in action!
« Reply #3 on: May 25, 2010, 01:06:08 am »
It would by good to have some web GUI compatible with LCL something simillar to IntraWeb. Just no need to know anything about ajax, javascript, css, html, etc. a be abe to build good web applications. Simply to have pure pascal components and get high productivity. But nothing is so perfect and ExtJS have their limits. Creating own derived components require high level of knowledge of javascript and other web standards.

Anyway I intent to try to create some CRM web application and ajax controls and interactive interface is desired. So I have to put more effort to learn how to properly use ExtPascal with lazarus.

bee

  • Sr. Member
  • ****
  • Posts: 393
Re: ExtPascal with GUI in action!
« Reply #4 on: May 25, 2010, 02:20:51 am »
@JD: I'm not the author of ExtPascal. I'm just a fan :D and l want this project to get well known, both in pascal world and web programming world. The main author is Wanderlan.

@chronos: Nothing is perfect. ;) In the hello world demo above, I'm using ExtPascal with ExtP GUI toolkit. ExtP toolkit (by Phil Hess) is ExtPascal extension to feature RAD UI design through Lazarus IDE. Its component isn't yet complete, there are still many ExtJS controls not yet provided. That's why I invite everybody who is interested to web programming using pascal to join and help this project. :)
-Bee-

A long time pascal lover.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: ExtPascal with GUI in action!
« Reply #5 on: May 25, 2010, 06:31:01 am »
Impressive. :o

Actually I was looking something like this.  I must study this stuff.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

bee

  • Sr. Member
  • ****
  • Posts: 393
Re: ExtPascal with GUI in action!
« Reply #6 on: May 25, 2010, 09:45:55 am »
Actually ExtPascal isn't a new stuff at all. I even promoted it here in this very forum since about a year ago. ;)
-Bee-

A long time pascal lover.

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: ExtPascal with GUI in action!
« Reply #7 on: May 25, 2010, 01:00:16 pm »
Hello; I have compile ExtPascalSamples_embedded project sucessfully and looks fantastic running the demo; but Can I create applications with real databases?; Why says it? I  find the fish demo but is only a xml and the image files are into another folder; Actually I build a program with Zeos & Firebird, blob data for pictures.

extPascal looks great; thanks!
« Last Edit: May 25, 2010, 01:03:32 pm by fredycc »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: ExtPascal with GUI in action!
« Reply #8 on: May 26, 2010, 12:20:23 am »
Quote
Can I create applications with real databases?
Of course you can. Try the web application for Indonesian government in the wiki, it uses Firebird.

fredycc

  • Sr. Member
  • ****
  • Posts: 264
Re: ExtPascal with GUI in action!
« Reply #9 on: May 26, 2010, 10:51:16 am »
Hi, Yes leledumbo, you're right, thats example use firebird; but I have some problems for compile; I obtain the next errors:

Quote
Ajax(ExtAppServer.DoSave, TExtFormBasicForm(pnlEntry.GetForm).GetValues);
uEntry.pas(79,74) Error: Incompatible type for arg no. 2: Got "TExtFunction", expected "Array Of Const"

Quote
For this case, I replace 800 to '800';  %) :
FormHeader.SetWidth(800);
uServer.pas(203,26) Error: Incompatible type for arg no. 1: Got "SmallInt", expected "AnsiString"
FormContent.SetWidth(800);
uServer.pas(204,27) Error: Incompatible type for arg no. 1: Got "SmallInt", expected "AnsiString"
FormFooter.SetWidth(800);
uServer.pas(205,27) Error: Incompatible type for arg no. 1: Got "SmallInt", expected "AnsiString"
FormHeader.SetWidth(500);
uServer.pas(220,26) Error: Incompatible type for arg no. 1: Got "SmallInt", expected "AnsiString"
FormContent.SetWidth(500);
uServer.pas(221,27) Error: Incompatible type for arg no. 1: Got "SmallInt", expected "AnsiString"
FormFooter.SetWidth(500);
uServer.pas(222,26) Error: Incompatible type for arg no. 1: Got "SmallInt", expected "AnsiString"

Quote
case Data.EntryMode of
      emInsert  : lblEntry.SetText('DATA MAHASISWA - <font color=green>MASUKAN BARU</font>');
      emUpdate  : lblEntry.SetText('DATA MAHASISWA - <font color=blue>SUNTING DATA</font>');
      emReadOnly: lblEntry.SetText('DATA MAHASISWA - <font color=red>LIHAT DATA</font>');
end;
uServer.pas(257,15) Error: Illegal qualifier
uServer.pas(258,17) Error: Constant and CASE types do not match
uServer.pas(259,17) Error: Constant and CASE types do not match
uServer.pas(260,17) Error: Constant and CASE types do not match

Quote
edNoInduk.SetValue(Data.LastID);
edNoInduk.SetDisabled(Data.EntryMode <> emInsert);
btnSave.SetDisabled(Data.EntryMode = emReadOnly);
uServer.pas(263,29) Error: Illegal qualifier
uServer.pas(264,32) Error: Illegal qualifier
uServer.pas(265,30) Error: Illegal qualifier

Quote
gridRows.LoadData(JSObject(Data.GetProviderResultsAsJSONObject(Query['no_induk'],Query['user_id'],Query['perti_id']), '', false));
uServer.pas(299,37) Error: Illegal qualifier

Quote
gridRows.LoadData(JSObject(Data.GetProvidersDataCountAsJSONObject, '', false));
uServer.pas(307,37) Error: Illegal qualifier

Whta Can I do?

Gintas

  • Jr. Member
  • **
  • Posts: 71
    • Developer's Diary
Re: ExtPascal with GUI in action!
« Reply #10 on: May 26, 2010, 01:38:09 pm »
Hmm,it's a wrapper of ExtJS which is only free to use for open source apps?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8747
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: ExtPascal with GUI in action!
« Reply #11 on: May 27, 2010, 05:14:40 am »
Quote
but I have some problems for compile
It was created with previous ExtPascal version, where some data types were changed since (string => enum, etc.). You might want to ask the author for a conversion to the current ExtPascal version.

bee

  • Sr. Member
  • ****
  • Posts: 393
Re: ExtPascal with GUI in action!
« Reply #12 on: May 27, 2010, 10:09:28 am »
Or even better, lets discuss this in the appropriate forum. ;)
-Bee-

A long time pascal lover.

DonaldShimoda

  • Full Member
  • ***
  • Posts: 109
    • Parallel Pascal Worlds
Re: ExtPascal with GUI in action!
« Reply #13 on: June 07, 2010, 02:34:33 pm »
Hmm,it's a wrapper of ExtJS which is only free to use for open source apps?

Yes, is a very important point this you have, Beware people, remember extjs is not free for non OS app.

matthius

  • Full Member
  • ***
  • Posts: 155
  • Creating VRAD...
    • LIBERLOG - Développement rapide
Re: ExtPascal with GUI in action!
« Reply #14 on: June 11, 2020, 09:07:54 am »
Just to inform everybody that ExtPascal is still alive and kicking. To have intraweb-like development using Lazarus is now possible.

Check this out: http://youtube.com/watch?v=ZVUMW0V9nGs

We know that this project is still far from perfect. If you're interested to this framework, please come and join our project.

Visit us at: http://extpascal.googlecode.com
Or here :
https://sourceforge.net/p/extpascal/code/ci/default/tree/

Also, you may want to check these out:

- ExtPascal samples
- FishFactDemo as in Delphi
- classes documentation
- other video tutorials
- and, ExtPascal discussion group

Help us making FPC/Lazarus also as tool for web app development, especially for RIA (rich internet app). Everybody is welcomed.

Thank you.
M. GIROUX
13 rue Tanguy PRIGENT
35000 RENNES - France
(33)(0)2 23 46 06 54
http://liberlog.fr

 

TinyPortal © 2005-2018