safe Data Encapulating classes
| From: | Dennis Gearon | Date: | Fri, 03 Nov 2000 02:00:11 +0000 |
| Subject: | safe Data Encapulating classes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-23504@lists.php.net to get a copy of this message | ||
I am building and looking for abstracted data types to use in web page
building.
things like:
1> File name
A> Unix/linux
B> Dos8.3
C> Windows(R)
2> email address
3> IMG (probably extends File Name above)(for html image sources)
4> etc.
I have written:
1> Bounded Int
A> Can be an int with a lower bound, upper bound, or both with small
extensions
B> Presently using it for:
A> Table Cell width ( 0-100%), or >=0 pixels
B> Cell H/V position >=1
C> COLSPAN/ROWSPAN >= 1
am finishing
2> EnumStr
A> Uses an array of strings as string enums to define only legal
string values for an 'EnumString'
B> Use for Table Centering, Cell Centering, Text Centering
C> Later, use for Lists
Below, the BoundedInt Class <comments welcome>
BTW, my favorite share/trial/now purchased software is 'SecureCRT' and
'EditPlus2'.
======================================================================================
http://webdev.oit.edu/~gearond/public/BoundedInt.txt
There are no comments because I am writing two versions, a highly
commented version
for people to use, and a non commented one for site usage, to speed up
the interpreter
OBVIOUSLY, I am writing the non commented version first.
======================================================================================
========================================================================================
an extended version http://webdev.oit.edu/~gearond/public/extend.txt
========================================================================================
________________________________________________________________
Dennis K. Gearon (Kegley) Loyal Member
Scientific Instrument Technician, School of ETM of The
Oregon Institute of Technology Order of
- One of USA's Best College Buys TUX
3201 Campus Drive ~
Klamath Falls, OR 97601 'v' standards
Voice 1-541-885-1563 // \\ corrupters:
FAX 1-541-885-1689 /( )\ ^phear^
email gearond@oit.edu ^`~'^ the penguin
________________________________________________________________
Happiness is when you want to go to your job in the morning and
when you want to go home in the evening.
________________________________________________________________