360 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Jobs | Twitter | Bookmarks | Pods | Forum | Blogs | Search | myPL | About 
 
Latest 7 Posts
Reusable Javascript Part IV - Putting the C in MVC
Wed, Mar 17th 2010 87
Things that make you go... AH HAH!!
Mon, Mar 15th 2010 232
Writing Client-Side Javascript for Re-Use, Part III
Sun, Mar 14th 2010 140
Writing Client-Side Javascript for Re-Use, Part II
Sun, Mar 14th 2010 140
Writing Client-Side Javascript for Re-Use
Sun, Mar 14th 2010 251
Follow The XPages Blog on Twitter
Tue, Mar 9th 2010 91
Advanced HTML Element Select with Control and Shift Click
Tue, Mar 9th 2010 142
Top 10
Writing Client-Side Javascript for Re-Use
Sun, Mar 14th 2010 251
UPDATED: Transforming Domino Forms into XPages via XSLT
Mon, Feb 8th 2010 233
Things that make you go... AH HAH!!
Mon, Mar 15th 2010 232
New Single Day Introduction to XPages Course
Mon, Dec 14th 2009 182
QuickTip: HTML Element Selection Using Dojo
Sun, Mar 7th 2010 179
XPages101 Online offers affordable XPages training
Mon, Feb 15th 2010 163
11 Unanswered XPages Questions on IQJam
Tue, Dec 15th 2009 148
Self Awareness of Custom Controls in XPages: "Am I alone out there"
Thu, Feb 4th 2010 147
Embedding Contextual Data for Client-Side Logic in XPages
Sun, Feb 21st 2010 147
Advanced HTML Element Select with Control and Shift Click
Tue, Mar 9th 2010 142


XPages:Behind the Scenes
Jeremy Hodge    


Over on the "Mindoo Blog", Karsten Lehmann has started an XPages series about stripping back some of the Notes-centric pieces of XPages and working with the underlying structure, java beans, and more.  While this is more than most Domino only developers may need to get into, the exposure to the underside of how XPages work, JSF, and so on is a great tool in understanding how XPages work behind the scenes, and can help you to design better XPages applications.

Hop over to the first article in his XPages series, and give them a read (5 articles in the series so far.) Its promising to be good stuff.

 

Happy Coding.



---------------------
http://xpagesblog.com/xpages-blog/2009/7/22/xpagesbehind-the-scenes.html
Jul 22, 2009
13 hits



Recent Blog Posts
87


Reusable Javascript Part IV - Putting the C in MVC
Wed, Mar 17th 2010 9:18p   Jeremy Hodge
In the first three post of this series, I've introduced the concepts of the "Dojo Class", the ability to load them from an NSF repository, and the use of a namespaced class as the foundation of your coding practices for client-side javascript in your XPages applications. In this post, I am going to further flesh out how to implement an MVC design pattern in your XPages, both server and client side, and then show you how to practically apply the use of the dojo class as your controller in an XPa [read] Keywords: notes script library xpages application applications css database development dojo java javascript leak security server widget
232


Things that make you go... AH HAH!!
Mon, Mar 15th 2010 8:04p   Jeremy Hodge
 Make sure you have gzip compression turned on .... [read] Keywords: ibm application database javascript xml
140


Writing Client-Side Javascript for Re-Use, Part III
Sun, Mar 14th 2010 9:45p   Jeremy Hodge
This is the third post in a series on reuseable javascript objects. If you have not read them yet, start with the first and second posts. Now, lets discuss how we get dojo to load our new class from an NSF. Normally you would do this by including a dojo module through the XPage's resources tab, or you would use the javascript code: dojo.require('com.ZetaOne.widget.listControl'); Here's where we have to perform a little "magic" to make dojo aware of our javascript repository that exists in an [read] Keywords: domino xpages database dojo javascript widget
140


Writing Client-Side Javascript for Re-Use, Part II
Sun, Mar 14th 2010 9:44p   Jeremy Hodge
This is the second post in a series on reuseable javascript objects. If you have not read it yet, start at the first post here. Now, let's continue on by creating a new, blank database somewhere on your Domino webserver to serve as your new re-usable javascript code repository. A simple URL denoting reusable javascript objects is probably best. For example, at ZO, I've created a database titled "ZetaOne Javascript Repository" in the root of the data directory called zojs.nsf. Give anonymous re [read] Keywords: domino script library xpages application database dojo javascript properties widget
251


Writing Client-Side Javascript for Re-Use
Sun, Mar 14th 2010 9:14p   Jeremy Hodge
Many of us "grew up" through the evolution of Lotus Notes and Domino and have been conditioned to not use our tools in the the cleanest, most effective manner. For example, quite often we have scores of LotusScript libraries, chocked full of one-off sub-routines, functions that work together, but have no logical connection in code like a class, and quite frequently these libraries are not well document, coded "ugly" instead of readable, and have lots of "legacy implementations" making it difficu [read] Keywords: domino lotus lotusscript notes script library xpages application applications best practice database dojo integration java javascript server widget
91


Follow The XPages Blog on Twitter
Tue, Mar 9th 2010 7:10p   Bruce Elgort
The XPages Blog now has a Twitter account: http://twitter.com/xpagesblog Please follow us to get the latest and greatest XPages goodness from the industries leading XPages experts. [read] Keywords: xpages twitter
142


Advanced HTML Element Select with Control and Shift Click
Tue, Mar 9th 2010 6:33p   Jeremy Hodge
In my last post I discussed how to use dojo and CSS classes to create a user-selectable set of HTML elements. The example provided a list-like single-selection interface that allowed the user to only select single elements. Today, I am going to expand upon that example to create a multiple-select interface allowing the user to control-click or shift-click to select multiple elements. We are going to start off right where we left off last time, by modifying the focusObject() function we previousl [read] Keywords: xpages application css dojo interface javascript properties
179


QuickTip: HTML Element Selection Using Dojo
Sun, Mar 7th 2010 10:09a   Jeremy Hodge
You can quickly create a user selectable list of objects using CSS and a couple of quick dojo functions. First create a series of elements that you want the user to be able to select, and assign them all the same CSS class to describe their appearance. For example we'll create three 's. Example One Example Two Example Three Now, lets define the userSelectable CSS class .userSelectable { margin:4px; height:20px; border:1px solid #DDD; background-color:#F3F3F3; width:auto; [read] Keywords: css dojo javascript server
72


SSJS @Adjust on Javascript Dates - Be Backwarned!
Fri, Mar 5th 2010 5:03p   Jeremy Hodge
The following code will generate results that you may not expect: var myDate = new Date(2010,2,15); //this is MARCH 15th, months for JSDate is zero based myDate = @Adjust(myDate,0,-1,0,0,0,0); You might expect myDate to now be 2/15/2010 ... its what LotusScript would output. But there is a little more than meets the eye going on here. new Date(2010,2,15) creates a new Date in the local time zone... In SSJS @Adjust() by default treats the date as a UTC timezone, so the results you will actual [read] Keywords: ibm lotusscript javascript




147


Embedding Contextual Data for Client-Side Logic in XPages
Sun, Feb 21st 2010 6:07p   Jeremy Hodge
One of the difficulties I have faced when writing user-friendly UI's using XPages is the limited amount of "data" I can embed in a generated XPage for consumption by client side scripts.  Quite often I find myself wanting to do an dojo.xhrPost() to a domino agent to update the state of a document in the background, or programmatically post a partial refresh back to the server with programmatically contrived data, based on the user's actions, or the state of a dataset client-side. Quite often th [read] Keywords: agent domino xpages ajax css dojo javascript server wiki xml




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - FAQ - Mobile Edition