Getting Started with XPages Presented by Jeff Byrd.

Slides:



Advertisements
Similar presentations
Fox Scientific, Inc. ONLINE ORDERING 101. Welcome to our website On our main page you can find current promotions, the vendors we offer, technical references.
Advertisements

JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Copyright 2004 Monash University IMS5401 Web-based Systems Development Topic 2: Elements of the Web (g) Interactivity.
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
Multiple Tiers in Action
SharePoint Saturday Sponsors Gold Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
Mgt 240 Lecture Website Construction: Software and Language Alternatives March 29, 2005.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
Microsoft SharePoint 2010 Upgrade Preview FSU SharePoint Users Group Presents: Thursday, December 1 st, 2011.
UNIT-V The MVC architecture and Struts Framework.
Presented by…. Group 2 1. Programming language 2Introduction.
Introduction to PHP and Server Side Technology. Slide 2 PHP History Created in 1995 PHP 5.0 is the current version It’s been around since 2004.
Advanced Web 2012 Lecture 4 Sean Costain PHP Sean Costain 2012 What is PHP? PHP is a widely-used general-purpose scripting language that is especially.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
AIT 616 Fall 2002 PHP. AIT 616 Fall 2002 PHP  Special scripting language used to dynamically generate web documents  Open source – Free!!!  Performs.
About Dynamic Sites (Front End / Back End Implementations) by Janssen & Associates Affordable Website Solutions for Individuals and Small Businesses.
JDeveloper 10g and JavaServer Faces: High-Performance UIs on the Web Avrom Roy-Faderman Senior Programmer May, 2006.
Javascript: More features B. Ramamurthy 7/4/2014B. Ramamurthy, CSE651C1.
CSCI 6962: Server-side Design and Programming Introduction to Java Server Faces.
® How to Build IBM Lotus Notes Components for Composite Applications 정유신 과장 2007 하반기 로터스 알토란.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
Web applications using JavaServer Faces (JSF) A brief introduction 1JavaServer Faces (JSF)
® IBM Software Group © 2007 IBM Corporation JSP Expression Language
DEV-5: Introduction to WebSpeed ® Stephen Ferguson Sr. Training Program Manager.
ASP.NET Programming with C# and SQL Server First Edition Chapter 3 Using Functions, Methods, and Control Structures.
Lecture 8 – Cookies & Sessions SFDV3011 – Advanced Web Development 1.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
What does WWW stand for? And following abbreviations? HTTP: Hyper Text Transfer Protocol HTML: Hyper Text Mark-up Language URL: Uniform Resource Locator.
Selenium and Selenium on Rails. Agenda  Overview of Selenium Simple Selenium Tests Selenium IDE  Overview of Selenium on Rails  Problems with Selenium.
Sponsors Gold Silver Bronze Custom REST services and jQuery AJAX Building your own custom REST services and consuming them with jQuery AJAX.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
JavaScript Syntax, how to use it in a HTML document
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
David Lawrence 7/8/091Intro. to PHP -- David Lawrence.
Web111a_chapt08.ppt HTML: Section 8 JavaScript CGI Programs (Server Side programs) Common Gateway Interface Run on server Communicate with user across.
Central Arizona Phoenix LTER Center for Environmental Studies Arizona State University Data Query Peter McCartney RDIFS Training Workshop Sevilleta LTER.
Introduction To BlueMix By: Ryan
Lotus Domino Designer 6 Overview Maureen LelandSoftware Architect IBM Lotus.
IBM Lotus Software © 2006 IBM Corporation IBM Lotus Notes Domino Blog Template Steve Castledine.
JavaScript Introduction. Slide 2 Lecture Overview JavaScript background The purpose of JavaScript A first JavaScript example Introduction to getElementById.
CS562 Advanced Java and Internet Application Introduction to the Computer Warehouse Web Application. Java Server Pages (JSP) Technology. By Team Alpha.
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
François Briard GS-AIS-HR Database Developers Forum, APEX 6th May 2014 APEX Mobile Application Development 101.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
Introduction to JavaScript MIS 3502, Spring 2016 Jeremy Shafer Department of MIS Fox School of Business Temple University 2/2/2016.
Dr. Abdullah Almutairi Spring PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used,
PHP Tutorial. What is PHP PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages.
Best Web Technologies for
Basics Components of Web Design & Development Basics, Components, Design and Development.
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
Creative Commons Attribution- NonCommercial-ShareAlike 2.5 License Sakai Programmer's Café Sakai Montreal CRIM Workshop Comparative Display Technologies.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
Enhance Your Page Load Speed And Improve Traffic.
Social Enablement of Xpages - Linoy K George & Mervin Thomas.
Introduction to Dynamic Web Programming
ASP MVP Web applications and Razor
4. Javascript Pemrograman Web I Program Studi Teknik Informatika
PHP / MySQL Introduction
SharePoint-Hosted Apps and JavaScript
PHP.
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Tutorial 10: Programming with javascript
PHP an introduction.
Client-Server Model: Requesting a Web Page
Bootstrap Direct quote from source: bootstrap/
Intro to Programming (in JavaScript)
Presentation transcript:

Getting Started with XPages Presented by Jeff Byrd

Agenda Who am I XPages Resources What are XPages Why Use XPages XPages Design Elements XPages CRUD XPages Template

Jeff Byrd Senior Developer at MAXIMUS Inc. Lotus Notes developer since ver. 3. Blogger at ◦ Current series is “Roll Your Own Rest Service”. Developing xPages for 2 Years.

XPages Resources ◦ Created by David Leedy ◦ 27 + hours of FREE videos on XPages ◦ Check out “Introduction to XPages” Xpages.info ◦ Daily aggregate of XPages blogs ◦ XPages Snippets OpenNTF.org – Free Source Code PlanetLotus.org StackOverflow.com – Filter for XPages The Rabbit Hole – ( nathantfreeman.wordpress.com) ◦ Taming IBM Domino Designer

What are XPages? New Design Elements and tools for creating web applications Embraces standard languages ◦ HTML, CSS, JavaScript, Java Built on top of Java Server Faces (JSF) ◦ XPages is a JSF wrapper for Domino Developers Everything you code gets placed inside of Java Objects ◦ You never need to deal with those Java Objects though! You do not NEED to know Java to build XPages apps ◦ But it will help and should be something to strive for ◦ Java in XPages is somewhat similar to LotusScript Custom Classes

Why Use XPages? Separates UI from Data ◦ Allows multiple Data sources per Page ◦ Easy access to data from other databases Improves Data capabilities ◦ from inside a view  Similar to a JOIN in relational DB’s. ◦ Use Java Objects (Beans) as data source ◦ Iterate your data anyway you want via “Repeat Control” Runs inside Notes Client (XPiNC - XPages in Notes Client) ◦ Replicate your web applications.

New Design Elements XPage ◦ Similar to Notes Form  But not really as you can have none or multiple datasources  Data source can be:  NotesDocuments, NotesViews,Java Beans, and more... ◦ It’s often used more as a container to hold custom controls Custom Control ◦ Similar to Subform  But not really as you can have none or multiple datasources  Just like XPages  Can be used more then once on a page  Can accept Parameters that you define later  Allows high reusability ◦ Can not be viewed in the browser. They only work on an XPage ◦ Often Custom Controls are used to contain the graphical layout of your app

More New Design Elements Sever Side JavaScript ◦ Can be on the page or in a library. ◦ Library allows you to create reusable SSJS functions using ◦ It’s not really “JavaScript” but it has the same syntax  This allows additional capability  Domino Object Model  Java Objects Themes ◦ You can assign a CCS file and it’ll be available on every page of your app  Like a Global “Use” statement in LotusScript ◦ Allow consistent look and feel across apps ◦ oneUI and WebStandard are built in ◦ You can create your own  But always extend a server theme as they contain needed Dojo files ◦ Themes can override controls as well  More advanced but very powerful

Scoped Variables ◦ In memory objects to store data ◦ No need to rely on cookies / URL parsing  but you still can if you want applicationScope ◦ Like a database profile document ◦ Available to all users  Store Application settings and common lookups that all users need sessionScope ◦ Life of the user session  Store things specific to the user.  Preferences, shopping cart, etc...

Scoped Variables viewScope ◦ Life of the current Page  Store value of a current search, or items from a particular document requestScope ◦ Life of a single request ◦ Very short - just for data you’re currently processing Do NOT try and put Domino Objects (document, view, etc...) in Scope ◦ They will likely get recycled when you least expect it. ◦ For a document, just store a UNID as a string and grab the document again

Building an Application I’m using Domino and Designer ◦ Latest version is 9.0 ◦ Do not try Xpages development with any version below version and you should be using the Update Pack or OpenNTF Extension Library  Update Pack is available from IBM for 8.5.  Ext. Library is at What is the Update Pack / Extension Library? ◦ They are add-ons to the Domino Server / Designer ◦ Adds over 50 new tools and controls designed to speed up your application  Tools for layout, Dojo integration, etc.  Application layout control. ◦ Extends the core product without having to wait for next version

Sample Application Let’s build a quick Contacts Application ◦ One Form – Contact ◦ One View – Contacts ◦ Custom Control – frmContact ◦ Custom Control – vwContacts ◦ xPage – Contact.xsp ◦ xPage – Contacts.xsp ◦ Theme – Blueprint CSS

But there’s more! Things we haven’t talked about Server Side Java Script (SSJS) Client Side Java Script (CSJS) Repeat Controls Managed Beans Java!