To Rev or not to Rev

Frank D. Engel, Jr. fde101 at fjrhome.net
Sat Apr 30 10:16:59 EDT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hmm... well, first of all, a scripting language *is* a real programming 
language.  Just because a language isn't compiled doesn't mean it isn't 
real.  In fact, every language is interpreted; even "compiled" 
languages are simply translated into machine language, which is 
interpreted by the computer's processor.  It's just a matter of whether 
the language is interpreted by hardware, or by software.

Second, I for one have a Masters degree in Computer Science, and would 
not have made a fraction of the progress I have on the project I am 
doing right now if I were using something other than Rev -- one of 
those so-called "real" programming languages.

As for an object-oriented programming language, no Rev is *not* an 
object-oriented programming language, at least not in the traditional 
sense.


For example, in Rev, let's  say we want to change the label of the 
button; we do this with a command like:

set the label of button "My Button" to "Hello"


In other words, we are giving an instruction to Rev, such that our 
script code changes the button's label.  In more traditional OOP, we 
instead send a message to the button, asking it to change its own 
label; something more like (pseudo-code, not necessarily in any "real" 
programming language):

tell button "My Button" to set its label to "Hello"


At first the distinction may seem quite subtle, and you may not 
recognize the benefits to this, but consider that I want to create a 
new type of button with certain characteristics, one of which is that 
the label of the button always begin with a digit.  I can enforce this 
by having the button reject an attempt to set its label to anything 
other than a string starting with a digit (again with the pseudo-code):

when asked to set my label to x
   if char 1 of x is a number then
     set the label of me to x
   else
     throw "Invalid Label"
   end if
end when asked to set my label


Note that the prior code would still work the same way, and would not 
need to know what kind of button it was dealing with (of course, it 
would have an exception raised with this kind of button, since "Hello" 
does not start with a digit...)

We can't currently do this with Rev.


On Apr 30, 2005, at 9:06 AM, Jim Carwardine wrote:

> I know there has been lots of discussion on this topic since I joined 
> the
> list and I know many Rev'ers on this list have converted to Rev as 
> their dev
> language of first choice.
>
> I'm having a continuing conversation with my provider about using his 
> sever
> to serve my Rev app.  First was he highly recommended MSSQL, which the 
> list
> took exception to.  Then I suggested he take a look at RunRev as a
> development tool himself (hoping to get some local expertise using Rev 
> on a
> server) and here was his reply...
>
> "it is more of scripting language that a real programming language – 
> which
> is awesome for the non-technical developers like me and you, but is 
> not a
> true object oriented application language which is being taught in
> universities."
>
> I don't know what to say about that.
>
> Are there are x-talk/OOP languages that are compiled,
> or, a difference between an OOP and an x-talk language,
> or, maybe he just assumed that Rev is not a true OOP on first glance? 
> ...
> Jim
>
> on 4/26/05 10:30 AM, Frank D. Engel, Jr. wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> It's one of the few databases I'd consider inferior to MySql, not
>> because it lacks cross-platform compatibility, but because it is a
>> Microsoft product ;-)
>>
>> Realistically, any of the major database servers will have advantages
>> and disadvantages compared to the others.  I personally like
>> PostgreSQL: it is free for both noncommercial *and* commercial use
>> (unlike MySql, which is only free for non-commercial use), it is
>> reasonably fast and quite powerful, fully ACID-compliant, supports
>> stored procedures, views, and so forth, has a sizable user community,
>> etc.
>>
>> And it runs just fine on my OS X box, along with Windows, Linux, and a
>> variety of other platforms.
>>
>> On Apr 26, 2005, at 8:49 AM, Jim Carwardine wrote:
>>
>>> What about the differences between MySQL and MSSQL.  The proponents 
>>> of
>>> MSSQL
>>> are adamant that it is far better.  Is it really?  Of course, it's 
>>> not
>>> x-platform, which is a mark against it in my books... Jim
>>>
>>> on 4/25/05 3:58 PM, Bill wrote:
>>>
>>>> Yes I agree that SQL is the way to go. I can't wait until the MySQL 
>>>> to
>>>> SQLite utility is released so that I can try SQLite. I think it will
>>>> be
>>>> faster at connecting.
>>>>
>>>>
>>>> On 4/25/05 2:17 PM, "Dan Shafer" <revdan at danshafer.com> wrote:
>>>>
>>>>>
>>>>> Anyone else thinking along these lines?
>>>>
>>>>           |    |    |
>>>>          )_)  )_)  )_)
>>>>         )___))___))___)\
>>>>        )____)____)_____)\\
>>>>      _____|____|____|____\\\__
>>>> -------\                   /--------- 
>>>> http://www.bluewatermaritime.com
>>>> ^^^^^ ^^^^^^^^^^^^^^^^^^^^^
>>>> ^^^^      ^^^^     ^^^    ^^
>>>>      ^^^^      ^^^
>>>>
>>>> 24 hour cell: (787) 378-6190
>>>> fax: (787) 809-8426
>>>>
>>>> Blue Water Maritime
>>>> P.O. Box 91
>>>> Puerto Real, PR 00740
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>> -- 
>>>
>>> OYF is... Highly resourceful people working together.
>>> <http://www.OwnYourFuture-net.com>
>>>
>>> Own Your Future Consulting Services Limited,
>>> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
>>> Phone: 902-823-2339. Fax: 902-823-2139
>>>
>>> What’s New...
>>>
>>> * Have you ever hired an employee who didn’t work out?
>>>
>>> * Did you do that on purpose?
>>>
>>> Probably not...
>>>
>>> If you want to greatly improve your hiring process,
>>>      check out our new hiring process... www.HiringSmart.ca/ns
>>> <http://www.hiringsmart.ca/ns>
>>>                                                           and...
>>> www.KeepingTheBest.ca/ns <http://www.keepingthebest.ca/ns>
>>>
>>>
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>>
>> - -----------------------------------------------------------
>> Frank D. Engel, Jr.  <fde101 at fjrhome.net>
>>
>> $ ln -s /usr/share/kjvbible /usr/manual
>> $ true | cat /usr/manual | grep "John 3:16"
>> John 3:16 For God so loved the world, that he gave his only begotten
>> Son, that whosoever believeth in him should not perish, but have
>> everlasting life.
>> $
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.2.4 (Darwin)
>>
>> iD8DBQFCbkJa7aqtWrR9cZoRAsoQAJ0aMN6w4NN3gIgLL0JSNe6qY67FzACfab9U
>> WgSg71YvUbOWBSxrn/KLB1k=
>> =mwRm
>> -----END PGP SIGNATURE-----
>>
>>
>>
>> ___________________________________________________________
>> $0 Web Hosting with up to 200MB web space, 1000 MB Transfer
>> 10 Personalized POP and Web E-mail Accounts, and much more.
>> Signup at www.doteasy.com
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> -- 
>
> OYF is... Highly resourceful people working together.
> <http://www.OwnYourFuture-net.com>
>
> Own Your Future Consulting Services Limited,
> 1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
> Phone: 902-823-2339. Fax: 902-823-2139
>
> What’s New...
>
> * Have you ever hired an employee who didn’t work out?
>
> * Did you do that on purpose?
>
> Probably not...
>
> If you want to greatly improve your hiring process,
>      check out our new hiring process... www.HiringSmart.ca/ns
> <http://www.hiringsmart.ca/ns>
>                                                           and...
> www.KeepingTheBest.ca/ns <http://www.keepingthebest.ca/ns>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
- -----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCc5Nb7aqtWrR9cZoRAl5EAJ4g0bfNZXF6WVG0mp/sBP5RRK6D0ACfZs51
StLOE+w8+HMSZIy8bG1Eebk=
=ux2I
-----END PGP SIGNATURE-----



___________________________________________________________
$0 Web Hosting with up to 200MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list