Title: The One Thing You Need To Succeed
1The One Thing You NeedTo Succeed
- Jeff Petersjeff_at_grokfusebox.com
2NOT the One Thing
3This Session
- Some Cases
- Some Comparisons
- Some History
- The One Thing
4Case 1
- List Box Based on a Query
5Case 1
6Case 1
ltcfform name"myForm" action"" method"Post"gt
ltcfselect name"Dealer"
query"qryGetCarDealers"
display"Dealer" value"Location"
required"Yes" message"Select a
Dealer"gt lt/cfselectgtltbrgt ltinput
type"Submit"gt lt/cfformgt
7Case 1
- Client wants All as the first option
- How can we do this?
- Discuss
8Case 1Possible Solution A
- Add record for All to the database
9Case 1Possible Solution AProblems
- False Data in the Table
- Ex Count of dealers would be wrong
- New Sort Column to Force All to Top
- Kludge
10Case 1 Solution A Cause
- Developer Learned CFML Only
- Didn't Understand Request/Response Cycle CFAS'
Role
11Case 1Possible Solution B
ltcfform name"myForm" action"" method"Post"gt
ltselect name"Dealer"gt ltoptiongtAlllt/optiongt
ltcfoutput query"qryGetCarDealers"gt ltoption
value"qryGetCarDealers.Location"gt
qryGetCarDealers.Dealer lt/optiongt
lt/cfoutputgt lt/selectgtltbrgt ltinput
type"Submit"gt lt/cfformgt
12Case 2
- Find the part of a string before an underscore
13Case 2How Can We Do This?
14Case 2Possible Solution A
ltcfset myVar '341414_2_000'gtltcfoutputgt
left(myVar,findOneOf('_',myVar,1)-1) lt/cfoutputgt
15Case 2Possible Solution B
16Case 2Possible Solution C
17Case 2Possible Solution D
18Case 3The Famous Double Droplist
- Droplist 1 holds Departments.
- Droplist 2 holds Employees.
- When user selects a Department, Droplist 2 is
populated.
19Case 3
20Case 3Possible Solution A
- Round-Trip to Database
- Problems
- Response/network lag
- Tracking variables page-to-page
- And maybe back again
- Seems kludgy
21Case 3Possible Solution B
- Nate Weiss' Excellent TwoSelectsRelated Custom
Tag
22Case 3Possible Solution C
- Do-It-Yourself Javascript
- But I'm not that good at Javascript!
- Hmmm...
23Comparisons
- What do the Cases have in common?
- Discuss
24Some History
255 Years Ago (1999)
265 Years Ago (1999)
- Allaire IPO
- ColdFusion 4.0 Beat ASP 2.0 for NetworkWorld's
Blue Ribbon - MS Releases Service Pack 5 for NT4
- Dow at 10,831 (Apr 27)
- Netscape 4.51
- Internet Explorer 5
2710 Years Ago (1994)
2810 Years Ago (1994)
- Allaire Founded
- ColdFusion 1.0 Still 1 Year Away
- Canter Siegel Send First Spam
- MS W4WG 3.11 DOJ sues MS
- Dow at 3,700 (June)
- Netscape Navigator 1.0
- Internet Explorer Isn't Yet
2915 Years Ago (1989)
3015 Years Ago (1989)
- Internet was Gov, Mil, Edu Only
- MS-DOS 4.01 MS Windows/286 2.11(The world plays
Reversi) - Dow at 2,490 (June)
- COBOL, Ada, C
- Microsoft buys 20 Santa Cruz Operation (Not
Caldera/SCO Group) - 80486 Introduced
3120 Years Ago (1984)
3220 Years Ago (1984)
- MS-DOS 3.0 (HD floppies 32MB HDs)
- Dow at 1,120 (June)
- Apple Introduces Macintosh during Super Bowl
(1984 ad) - IBM Introduces PC/AT (80286)
- WordPerfect Lotus 1-2-3 Rule
33What's The Point?
- succeed v. intr. To come next in time or
succession follow after another replace another
- (First definition in The American Heritage
Dictionary of the English Language, Fourth
Edition) - Second definition is To accomplish something
desired or intended
34Moreover
- Webster's leaves the popular definition to
accomplish what is attempted or intended, until
fourth.
35To Succeed is To Replace Another
- Technology
- Concept
- Program
- Developer?
36So What's Next?
- Two Possibilities
- Learn Something because
- Job requires it
- Something interests you
- Invent Something because
- Job requires it
- Something interests you
37The One Thing
- Learning and Invention both require
38The One Thing
- Learning and Invention both require
39What Should I Learn?
- Languages?
- More CF
- PHP, Lasso
- Java, C, Ruby
- Platforms?
- Linux
- OS X
- Frameworks?
- Fusebox
- Mach-II
- Struts
- Methodologies?
- FLiP
- Extreme Programming
- Traditional SDLC
- Business Models?
- E-commerce
- Vertical channeling
- JIT
- Fields?
- Law
- Medicine
40What Should I Invent?
In short, a better mousetrap. Invention is
the biggest risk there is, because nobody but you
knows how valuable the thing is until you can
prove it. - ?
41Thanks for Listening
www.GrokFusebox.com