WWDC
WWDC
- Subject: WWDC
- From: email@hidden
- Date: Sat, 19 May 2001 17:30:55 EDT
Apple's annual World Wide Developers Conference is almost upon us. There are
Applescript sessions scheduled Friday afternoon.
http://developer.apple.com/wwdc2001/friday.html
Without speculating on the prioritization implicit in the scheduling, is
there anyone from this list who will be attending the AS sessions, and be
willing to summarize and report back?
In a similar vein, are there any issues which anyone feels should be brought
up in the feedback session? I certainly don't want to do a sidestep around
all the excellent support we get here from Chris Nebel and Chris Espinosa,
but sometimes the dynamic of Physical Reality (TM) is beneficial.
Here are some issues I especially care about:
<disclaimer>streaming while dreaming</disclaimer>
1) A standard parse CGI args, pack CGI args, and lookup CGI field command,
carbon/cocoa/PPC native, as part of the language. Basically, the combined
functions of Tanaka's and ACME Parse Args, updated for OSX.
1a) W*API for Apache, so AppleScript CGIs will work with it out of the box.
2) Hash tables, perhaps implemented as commands for coercing records to lists
and back (and CGI posted_data to record or list of lists and back), with the
ability to lookup values based on a variable for the field name.
Some desired conversions:
"a=1&b=2" <---> {{"a",1},{"b",2}}
"a=1&b=2" <---> {a:1,b:2}
{{"a",1},{"b",2}} <---> {a:1,b:2}
{"a","b"} X {1,2} <---> {a:1,b:2}
Possible syntax/usage:
set sampleRecord to {a:1,b:2}
set wantedField to "a"
set val to wantedField in sampleRecord
--> 1
set allFieldNames to fields of sampleRecord
--> {"a","b"}
set packed to pack CGI sampleRecord
--> "a=1&b=2"
set newData to {3,4}
set newRecord to build record from allFieldNames and newData
--> {a:3,b:4}
set recordTemplate to {"b","c","d"} as record template
--> {b:"", c:"", d:""}
set newRecord to populate recordTemplate from sampleRecord ignoring extras
--> {b:4, c:''", d:""}
set newerRecord to populate recordTemplate from sampleRecord including
extras ignoring empties
--> {a:3, b:4}
set anotherRecord to extract recordTemplate from newRecord including
empties
--> {b:4, c:"", d:""}
3) A split command. Maybe a less wordy way to use the TIDs to do this. Option
for case insensitive TIDs.
4) A switch command, maybe with more English-like syntax.
5) A Script Editor with find/replace and the ability to handle 32K+ text.
6) Perl-like speed.
Jeff Baumann
email@hidden
www.linkedresources.com
- Follow-Ups:
- Re: WWDC
- From: Bill Cheeseman <email@hidden>
- Re: WWDC
- From: Paul Berkowitz <email@hidden>