Presentation is loading. Please wait.

Presentation is loading. Please wait.

CWCW System Demo Campus Web Council of Wisconsin.

Similar presentations


Presentation on theme: "CWCW System Demo Campus Web Council of Wisconsin."— Presentation transcript:

1 CWCW System Demo Campus Web Council of Wisconsin

2 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Very active organization of Web developers throughout the state of Wisconsin Very active organization of Web developers throughout the state of Wisconsin Meet 2-3 times a year Meet 2-3 times a year Started saving information about ourselves Started saving information about ourselves –Word document –WIKI –Now we need something better Seemed like a simple first system Seemed like a simple first system What is CWCW?

3 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Connect the concepts: Connect the concepts: –Model – Views – Controllers – Partials --To how it’s actually done --To how it’s actually done Programming background is helpful Programming background is helpful My background My background –COBOL, RBase, Foxfire –10 years ago! –Just barely started with Rails Anyone can create a simple Rails Web system Anyone can create a simple Rails Web system What Will the Demo Prove?

4 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire Unless you want to have fun!

5 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Agile Web Development with Rails (Thomas/Hansson) Agile Web Development with Rails (Thomas/Hansson) –In Second edition –Instructions for installing Ruby (scripting language) and Rails (application framework) –Great tutorial –Tutorial uses MySQL –Other databases can be used – drivers needed Learn to Program (Chris Pine) Learn to Program (Chris Pine) –Ruby scripting language The Setup…

6 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Editor Editor –Ruby comes with SciTE – don’t recommend –Notepad ++ lightweight editor –Eclipse for Rails –RadRails –Textmate for Macintosh Server Server –Rails comes with WEBrick, a standalone Web server The Setup…

7 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Use cases Use cases –Campus member adds/changes information about an institution belonging to CWCW –Members add/change information about their positions –Members search for information on topics related to the web issues  Forms survey software being used  Stats packages being used  Hardware, servers, platforms  Policies and guidelines –Members search for information on types of Web positions or expertise of particular individuals The CWCW Application

8 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Translation into Rails: Translation into Rails: –Database: CWCW –Models: Institution, Member  Institution model: has_many: members  Member model: belongs_to: institution –Tables: institutions and members –We’ll let Rails create a basic CRUD system The CWCW Application

9 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Let’s get started…

10 Brian Hogan and Lillian Hillis University of Wisconsin-Eau Claire CWCW Demo Created a Rails application Created a Rails application Created a mySQL database Created a mySQL database Generated models and migrations Generated models and migrations Ran the migrations to create tables and columns Ran the migrations to create tables and columns Generated scaffolds Generated scaffolds Added style, functionality and validation Added style, functionality and validation What We Just Did


Download ppt "CWCW System Demo Campus Web Council of Wisconsin."

Similar presentations


Ads by Google