I.T. Discussion Community!
-Collapse +Expand
Prism
Search Prism Group:

Advanced
-Collapse +Expand Prism To/From
To/FromCODEGuides
-Collapse +Expand Prism Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Prism Store
PRESTWOODSTORE

Prestwood eMagazine

October Edition
Subscribe now! It's Free!
Enter your email:

   ► eMag   Print This    All Groups  
View Group Edition:
Full Edition Your Edition || Prev Next || Subscription Center

eMag Apr 2011 Issue - Prism Edition

Subscribe!

Start subscribing now! It's free!

Each month on or after the 1st, and only once a month, we will send you content from up to 5 community groups. If you select this Prism group, you'll receive the following content below mixed in with the other groups you elect to include.

Prestwood eMag
Message Boards
PrestwoodBoards.com
  April 2011 - Prism Edition Year 13 Issue 4  
I.T. Discussion Community!


Expert guidance from working professionals!
Company Info topic:
Prestwood IT Social Networking Strategy
by Mike Prestwood

Social networking is a bit confusing! Emailing and calling are still the standards. Is faxing still ok? What about Facebook? Do I friend someone or become a fan of their fan page? Wait, what happened to fan pages? Are they now Facebook pages? What about Facebook groups? What about LinkedIn, YouTube, Twitter, MySpace, and others?

The following articles are posted to the PrestwoodBoards knowledge base:

The Prestwood Strategy: Although we still prefer phone calls and email, we do use social media to reach out. Our primary form of social networking is not with our clients, but with fellow IT professionals at PrestwoodBoards.com. Use the link above to learn more including how to interact with Prestwood IT, our other websites and groups, and our staff including Mike Prestwood.

For more information see...


IT Water-Cooler for Power-Users topic:
Windows GREP - Great Tool
by Wes Peterson

You know (or think) the file is out there.  You have a pretty good idea about one or two things that are (or ought) to be in it.  Find it fast with Windows GREP.






 Prism Group Top 
Visit Group | My Group Settings
Language Basics topic (classic post):
Delphi Prism Unary Operators
by Mike Prestwood

The Prism unary operators are:

+
-
Not


OOP topic (classic post):
Delphi Prism Member Field
by Mike Prestwood

In Prism you can set the visibility of a member field to any visibility: private, protected, public, assembly and protected or assembly or protected. Prism supports the readonly modifier for member fields which is handy for constant like data. In this case, I chose not to preface my read-only member field with "F" so it's usage is just like a read-only property. Prism also support the class modifier (static data) for member fields. Delphi developers should notice the use of := to initialize a member field (in Delphi you use an =).


 Monthly Prism Lesson
OOP Topic:
Code Snippet of the Month

Unlike Delphi, Delphi Prism uses the .Net garbage collector to free managed object instances. Prism does not have nor need a true destructor.

In .Net, a finalizer is used to free non-managed objects such as a file or network resource. Because you don't know when the garbage collector will call your finalizer, Microsoft recommends you implement the IDisposable interface for non-managed resources and call it's Dispose() method at the appropriate time.

type

  Cyborg = class(IDisposable)
  private
    disposed: Boolean;
    method Dispose(disposing: Boolean);
  public
    method Dispose;
    finalizer Finalize;
  end;
Tool Basics Topic:
Download of the Month: Oxidizer

Oxidizer is a free tool that (in combination with ShineOn) is provided to help to port Delphi (Win32 and .NET) projects to the Delphi Prism language. Oxidizer is a command line tool that will adjust your .pas source files for common differences between the two languages.

Language Details Topic:
Resource Link of the Month: The Delphi Prism Primer

Comprehensive introduction by Christian Stelzmann.

Delphi Prism Topic:
Question:

What is the difference between a partial method and an abstract method?


Answer:

Both are very similar in usage. However, a partial method is a callable empty method whereas an abstract method is a defined method in a parent class that must be implemented in a child class. Contrast this with a partial method which can be implemented in a child class but does not have to be. Partial methods are common with code generators for managing events.




Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech