Page 2 of 3

Posted: Sun May 15, 2005 12:56 pm
by Dräc
The tutorial has just been updated.
This update impact the whole part called " Second implementation ".
It brings a more homogeneous implementation by distinguishing the initialization of the methods of that of the attributes.
So, the definition of the methods is completely contained by the class of the object, while the initialization of the attributes stays only at the constructor level of the object.
That ensues an inheritance realized in a more systematic way.

I also clarified the presence of the constrictor possible parameters.

Thank to Leo for his input on the subject.

Finally, the tutorial grows with an Appendix, grouping the different considerations revolving around the programming object-oriented implementation.
At present time, it can be found:
- The optimization the use of Get() and Set() methods (already present previously, but moved here),
- The use of linked lists in objet implementation.

Thus, do not hesitate to announce me your tips & tricks…

PS: I intend to give a chm’d version on the site from this new version

Posted: Thu May 19, 2005 4:35 pm
by Hurga
Is there a chance to get a zip-ed version of it? ONline reading is expensive for a modem -user like me

Posted: Thu May 19, 2005 4:43 pm
by Dare2
Dräc wrote:PS: I intend to give a chm’d version on the site from this new version
Thank you!

Posted: Sun May 22, 2005 1:24 pm
by techjunkie
Great! Really professional work!!

Ever consider to write a book? :wink: I'll buy it!!

(I've generated a PDF-file from the web pages, but need the author's "blessing" to go public with it I'll guess.)

Posted: Sun May 22, 2005 10:46 pm
by Dräc
Hi,

The chm file is available on the site for download.
Look for Image Image at the upper-right

@techjunkie: Thanks! No problem for a PDF file version of the web pages and its free diffusion if author references are mentioned.:D[/img]

Posted: Mon May 23, 2005 5:35 am
by Dare2
Heya Dräc,

Once again, thank you! This is a huge thing you have done and many of us will benefit from your work. Really appreciated.

:)

Posted: Tue May 24, 2005 9:24 am
by dell_jockey
blueznl wrote:i'm not a native english speaker so i tend to stumble over some of the phrasing... is it just me?
indeed, knowing a bit of French was helpful here and there...

Posted: Tue May 24, 2005 1:35 pm
by techjunkie
Dräc wrote:@techjunkie: Thanks! No problem for a PDF file version of the web pages and its free diffusion if author references are mentioned.:D[/img]
Ok! :)

Here is the link to the PDF-version,

http://www.techjunkie.org/purebasic/Pur ... amming.pdf

Posted: Tue May 24, 2005 2:46 pm
by Dare2
@techjunkie

Pinched that too. Thanks! :)

Posted: Tue May 24, 2005 2:52 pm
by techjunkie
techjunkie wrote:Here is the link to the PDF-version,
Hmmm... :oops: I forgot the "code links" - sorry! I'll add these tomorrow and post a new link...

Posted: Thu Sep 20, 2007 11:24 pm
by Dräc
Tutorial: PureBasic and the OOP

Hi folk!

A new page has just been added to the OOP tutorial.
It brings the wrap which missed for an easy handle in object creation.

This page presents the implementation of object concepts which I use at present with PureBasic (PureBasic Class).
After long moments of practice and tune, I think it is mature enough.

Although PureBasic remains a procedural language, this new stage supplies a real set of commands.

Good reading to the brave ;)

Posted: Fri Sep 21, 2007 9:35 am
by Thalius
EDIT: Working now =)

GREAT Work! :D

Thalius

Posted: Fri Sep 21, 2007 1:11 pm
by Mowen
Very usefull ! Et qui plus est en français :)

Merci !

Posted: Sat Sep 22, 2007 4:19 pm
by Dräc
Some few updates:
-English improvement in the whole tutorial (I have spend time but this work never end ;))
-the Linkedlist section in appendix was removed as there is no meaning since the last object implementation
-pdf/chm files removed as the tutorial was modified

Posted: Thu Sep 27, 2007 11:11 pm
by Dräc
As PureBasic IDE and JaPBe give the possibility of specifying keywords, I finally removed brackets associated to keywords EndInit_Mbers and EndFree.