100 likes | 358 Views
PAWS. Penn State Administrative Web Suite. Eric Helfen. Overview of Presentation. What is PAWS Tour of Current Functionality Creating New PAWS Functions Questions. What is PAWS?. PAWS is... A web application
E N D
PAWS Penn State Administrative Web Suite Eric Helfen
Overview of Presentation • What is PAWS • Tour of Current Functionality • Creating New PAWS Functions • Questions
What is PAWS? PAWS is... • A web application • A central launch point for a diverse collection of administrative functions and applications. • Built on a framework so developers can spend their time solving business problems.
PAWS Tour PAWS
Creating New PAWS Functions (external) • Use existing PAWS Function Maintenance command to create an entry in the PAWS DB. • Fill in meta data and link. • You’re done!
Creating New PAWS Functions (internal) • Create code (Java, jsp etc.) • Use Function Entry Create a new entry in the PAWS DB. • You're done!
Hello World Java (back end) publicclass HelloWorldDisplayCommand extends Command { public HelloWorldDisplayCommand() { this.setModel(new HelloWorldModel()); this.setViewHelper(new ViewHelper()); this.setView("/example/HelloWorld.jsp"); } publicvoid checkAuthorized(HttpServletRequest request) throws NotAuthorizedException, PawsException { String userId=getUserSession().getUserID(); if( userId.equals("tosd6")) { thrownew NotAuthorizedException("I don't like " + userId + " and won't say hello!"); } } }
Hello World JSP (front end) <div id="content"> <div id="main"> Hello World! </div> <!-- main --> </div> <!-- content -->
What about all the Hard Stuff? PAWS has numerous built in capabilities to simplify programming. • Application flow control • Error handling • Logging • User messaging • Partially pre-built presentation layer • Security • Search • And much more What all this means is developers don't need to spend their time creating a safe, stable environment for an application to run in. Developers only need to create the desired business functionality.
Questions Contact Information:Eric Helfen863-1465ejh122@psu.edu