Re: [lazarus] CodeTools and a GUI Class Builder
On 15/06/07, Al Boldi [EMAIL PROTECTED] wrote: I had a look at the tiOPF dist but could not find this tool. Is this a standalone tool? It's in the Support Apps directory. The tiOPF1 repository has quite a few tools. I have only ported the tiSQLEditor to tiOPF2 so far. It was all I needed at the time and currently only compiles with Lazarus. Ian showed interest (this last week) in making the minor changes required for it to compile in Delphi. That should be a very simple process and quick to do (copy .lfm files to .dfm files, create a new .dpr project, open all the forms and re save them and compile). To browse the tiSQLEditor source follow the link below. http://tiopf.svn.sourceforge.net/viewvc/tiopf/tiOPF2_SupportApps/trunk/tiSQLEditor/ Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On 15/06/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: I am eagerly awaiting the result :-) Me too! ;-) Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On 15/06/07, Joao Morais [EMAIL PROTECTED] wrote: This is exactly what I am planning to do. What I have implemented so far: a pascal parser, a code updater and a model that stores project data. Out of interest... Why did you create a new pascal parser and code updater, when CodeTools can already do that plus more for you? Regards, Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On 16/06/07, Lee Jenkins [EMAIL PROTECTED] wrote: What's the learning curve like with tiPPF? I checked it out a while back but was short on time for studying it. No doubt there is a learning curve. The tiOPF framework is big, but it's no different compared to someone that's new to the LCL or VCL. It take a while to get to know the things you are going to need first and then keep learning new features as you get more familiar with the framework. I'm currently bringing the documentation up to date. All the docs where written for tiOPF ver.1. A few things have changed in tiOPF ver.2, but for the better. Easier unit and class names, lots of code cleanup, etc. but the basic functionality is still the same. To work with the framework, I would say you have to work through the Concept Documentation - Chapters 1, 2 and 3 and actually write the code examples. This will lay the groundwork of how the framework was built and how the Visitor pattern is used. The Visitor pattern is the hart of the framework. Then for any other support questions you can always post them to the support newsgroup (see the website for details). The support newsgroup also has a 5+ year history which is a goldmine of information. Regards, - Graeme - _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
Graeme Geldenhuys wrote: On 15/06/07, Joao Morais [EMAIL PROTECTED] wrote: This is exactly what I am planning to do. What I have implemented so far: a pascal parser, a code updater and a model that stores project data. Out of interest... Why did you create a new pascal parser and code updater, when CodeTools can already do that plus more for you? Because I need it to D5+ as well, and because it was amusing =) -- Joao Morais _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On 16/06/07, Joao Morais [EMAIL PROTECTED] wrote: Out of interest... Why did you create a new pascal parser and code updater, when CodeTools can already do that plus more for you? Because I need it to D5+ as well, and because it was amusing =) Ah. :-) I was told that CodeTools was initially designed with Delphi and then integrated into Lazarus. I still need to test this and see if CodeTools can still be compiled under Delphi. Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On Sat, 16 Jun 2007 12:38:24 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 16/06/07, Joao Morais [EMAIL PROTECTED] wrote: Out of interest... Why did you create a new pascal parser and code updater, when CodeTools can already do that plus more for you? Because I need it to D5+ as well, and because it was amusing =) Ah. :-) I was told that CodeTools was initially designed with Delphi and then integrated into Lazarus. I still need to test this and see if CodeTools can still be compiled under Delphi. They were never developed under Delphi. I wrote some small code tools with Delphi, learned that there was some misconceptions and started new from scratch. This was years ago, and fpc+laz were merely a hobby. I tried to do be Delphi compatible. But I never needed them under Delphi, so I never tested the IFDEFs, and a year later fpc+laz were good enough and so I only wrote mode objfpc, which I liked from the very beginning. The only part of lazarus, which I wrote with Delphi, were some parts of the object inspector. But nowadays there is not much left of it. Then I used some weeks emacs, then I wrote a small editor with Delphi, used it with wine several weeks until I had improved lazarus enough. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On Sat, 16 Jun 2007 13:08:17 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: On Sat, 16 Jun 2007 12:38:24 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 16/06/07, Joao Morais [EMAIL PROTECTED] wrote: Out of interest... Why did you create a new pascal parser and code updater, when CodeTools can already do that plus more for you? Because I need it to D5+ as well, and because it was amusing =) Ah. :-) I was told that CodeTools was initially designed with Delphi and then integrated into Lazarus. I still need to test this and see if CodeTools can still be compiled under Delphi. They were never developed under Delphi. I wrote some small code tools with Delphi, learned that there was some misconceptions and started new from scratch. This was years ago, and fpc+laz were merely a hobby. I tried to do be Delphi compatible. But I never needed them under Delphi, so I never tested the IFDEFs, and a year later fpc+laz were good enough and so I only wrote mode objfpc, which I liked from the very beginning. Thanks for the explanation. I saw the ifdefs and though you developed them on both fpc and delphi. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
Thanks for putting that question to rest Mattias. :) So my idea of initially developing a Class Builder (with Lazarus) as a standalone application, specifically for Delphi developers to also use it, is not a bad idea. Later I'll worry about IDE integration, if the need arises. Graeme. On 16/06/07, Mattias Gaertner [EMAIL PROTECTED] wrote: They were never developed under Delphi. I wrote some small code tools with Delphi, learned that there was some misconceptions and started new from scratch. This was years ago, and fpc+laz were merely a hobby. I tried to do be Delphi compatible. But I never needed them under Delphi, so I never tested the IFDEFs, and a year later fpc+laz were good enough and so I only wrote mode objfpc, which I liked from the very beginning. The only part of lazarus, which I wrote with Delphi, were some parts of the object inspector. But nowadays there is not much left of it. Then I used some weeks emacs, then I wrote a small editor with Delphi, used it with wine several weeks until I had improved lazarus enough. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
Graeme Geldenhuys wrote: On 16/06/07, Lee Jenkins [EMAIL PROTECTED] wrote: What's the learning curve like with tiPPF? I checked it out a while back but was short on time for studying it. No doubt there is a learning curve. The tiOPF framework is big, but it's no different compared to someone that's new to the LCL or VCL. It take a while to get to know the things you are going to need first and then keep learning new features as you get more familiar with the framework. I'm currently bringing the documentation up to date. All the docs where written for tiOPF ver.1. A few things have changed in tiOPF ver.2, but for the better. Easier unit and class names, lots of code cleanup, etc. but the basic functionality is still the same. To work with the framework, I would say you have to work through the Concept Documentation - Chapters 1, 2 and 3 and actually write the code examples. This will lay the groundwork of how the framework was built and how the Visitor pattern is used. The Visitor pattern is the hart of the framework. Then for any other support questions you can always post them to the support newsgroup (see the website for details). The support newsgroup also has a 5+ year history which is a goldmine of information. Regards, - Graeme - _ Nice. Thanks for the info, Graeme. I'll take a look again. -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On 15/06/07, Al Boldi [EMAIL PROTECTED] wrote: A good starting point would probably be a DBTable-To-Class importer. tiOPF already has something link this - well kinda. The tool is called tiSQLEditor. You write and execute you SQL statement and see the result screen. In that screen you can then generate different sets of code for BOM, Visitors, MapRowToObject, etc and the code gets placed in the Clipboard, ready to paste into you IDE's editor. Does CodeTools offer the necessary functions to implement this easily? Well looking at the examples, I would say yes. The Class Builder will use feature that are already used by the Lazarus IDE, just in a slighly different way. Things like Code Completion and Refactoring, etc.. I've already created all the skeleton dialogs I would need. Now it's time to plug in the CodeTools functions. :-) Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On Fri, 15 Jun 2007, Graeme Geldenhuys wrote: On 15/06/07, Al Boldi [EMAIL PROTECTED] wrote: A good starting point would probably be a DBTable-To-Class importer. tiOPF already has something link this - well kinda. The tool is called tiSQLEditor. You write and execute you SQL statement and see the result screen. In that screen you can then generate different sets of code for BOM, Visitors, MapRowToObject, etc and the code gets placed in the Clipboard, ready to paste into you IDE's editor. Does CodeTools offer the necessary functions to implement this easily? Well looking at the examples, I would say yes. The Class Builder will use feature that are already used by the Lazarus IDE, just in a slighly different way. Things like Code Completion and Refactoring, etc.. I've already created all the skeleton dialogs I would need. Now it's time to plug in the CodeTools functions. :-) I am eagerly awaiting the result :-) Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
Graeme Geldenhuys wrote: On 15/06/07, Al Boldi [EMAIL PROTECTED] wrote: A good starting point would probably be a DBTable-To-Class importer. tiOPF already has something link this - well kinda. The tool is called tiSQLEditor. You write and execute you SQL statement and see the result screen. In that screen you can then generate different sets of code for BOM, Visitors, MapRowToObject, etc and the code gets placed in the Clipboard, ready to paste into you IDE's editor. I had a look at the tiOPF dist but could not find this tool. Is this a standalone tool? Does CodeTools offer the necessary functions to implement this easily? Well looking at the examples, I would say yes. The Class Builder will use feature that are already used by the Lazarus IDE, just in a slighly different way. Things like Code Completion and Refactoring, etc.. I've already created all the skeleton dialogs I would need. Now it's time to plug in the CodeTools functions. :-) Thanks! -- Al _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
Graeme Geldenhuys wrote: Has anybody done something like this with CodeTools yet? Creating a GUI Lazarus addon or seperate application that can build or edit classes? I will continue the design stuff for PressObjects presently. I need this SDK running in the Lazarus and Delphi IDE so I created an interface to change the project sources. One unit implement this interface using Borland OTA, another unit implement it using lazideintf. I would like to build such a tool or help someone that already started with such a tool. This would be extremely handy in projects like tiOPF where you need to create hundreds of Business Objects. This is exactly what I am planning to do. What I have implemented so far: a pascal parser, a code updater and a model that stores project data. -- Joao Morais _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
Graeme Geldenhuys wrote: On 15/06/07, Al Boldi [EMAIL PROTECTED] wrote: A good starting point would probably be a DBTable-To-Class importer. tiOPF already has something link this - well kinda. The tool is called tiSQLEditor. You write and execute you SQL statement and see the result screen. In that screen you can then generate different sets of code for BOM, Visitors, MapRowToObject, etc and the code gets placed in the Clipboard, ready to paste into you IDE's editor. Does CodeTools offer the necessary functions to implement this easily? Well looking at the examples, I would say yes. The Class Builder will use feature that are already used by the Lazarus IDE, just in a slighly different way. Things like Code Completion and Refactoring, etc.. I've already created all the skeleton dialogs I would need. Now it's time to plug in the CodeTools functions. :-) Graeme. What's the learning curve like with tiPPF? I checked it out a while back but was short on time for studying it. -- Warm Regards, Lee _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] CodeTools and a GUI Class Builder
On Thu, 14 Jun 2007 15:03:13 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Has anybody done something like this with CodeTools yet? Creating a GUI Lazarus addon or seperate application that can build or edit classes? I would like to build such a tool or help someone that already started with such a tool. This would be extremely handy in projects like tiOPF where you need to create hundreds of Business Objects. A few more questions: 1) Can CodeTools work standalone, without the Lazarus IDE? Yes, see the examples. 2) If (1) is true, can CodeTools work (compile) with Delphi? This was true, once. AFAIK the initial development was done with Delphi. I would be surprised if Delphi still can compile teh codetools, though. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives