|
|
Building a multilayer XPage Architecture
Mario
Hi,
as promised, i will do a more technical screencast now. I will show you, how to set up an XPage application, that is seperated into different layers, where each layer has its own responsibility. Why should you do this?
It’s extremely easy to switch datasources, you could even switch between datasources (Notes, SQL, Webservice,…) based on the current time, current user,… . You will do this in a central Java Class, using the Factory-Pattern. No Changes in XPages,… are necessary.
Calculating the status of Objects (overdue, approved,…), formatting of Names,… will be done in a central place, if you change the logic, no changes to the XPages (UI) will be necessary.
Accessing the data in your XPage will be more user friendly, because you can write object.getStatus() etc… to access information.
You can use all the great Java editing features of eclipse and ~ 30% of your application can be developed by a pure Java programmer, no notes knowledge necessary.
And I’m sure there are loads of more advantages, otherwise these multilayer architectures wouldn’t be the de-facto standard.
To better understand the architecture, you can download a stripped down version of the application, containing only the display of the users e-mails. 
If you are really interested in the subject and willing to learn Java, you should search the internet for the following topics: “Interface driven design”, “Data Access Objects”, “Factory Pattern” and maybe “Data Transfer Object”
Screencast (if you have problems viewing it, there is a link to download the .mp4 file after registering at vimeo
Demo NSF
*Update: the last 30 seconds of the sceencast are messed up, but you don’t really miss anything important, and i don’t want to recreate it now – its 00:52 am and i finally need some sleep

--------------------- http://feedproxy.google.com/~r/ItBraindumps/~3/onU70Vn4Mb4/ Dec 08, 2010 136 hits
| Recent Blog Posts |
136

|
Building a multilayer XPage Architecture 
Wed, Dec 8th 2010 7:14p Mario Gutsche Hi,
as promised, i will do a more technical screencast now. I will show you, how to set up an XPage application, that is seperated into different layers, where each layer has its own responsibility. Why should you do this?
It’s extremely easy to switch datasources, you could even switch between datasources (Notes, SQL, Webservice,…) based on the current time, current user,… . You will do this in a central Java Class, using the Factory-Pattern. No Changes in XPages,… are n [read] Keywords: lotus
notes
xpages application
eclipse
interface
java
sql
|
125

|
Using XPages for an employee portal / dashboard 
Sun, Nov 28th 2010 4:12p Mario Gutsche Hi,
from march until may this year, i had to write my bachelor thesis and because i love challenges, i had to write about the new kid on the block: XPages.
Because of the lack of documentation it was a hard time, but finally i made it *still can’t believe it*. Round about 95 Latex Pages have been written and 15 Pages had to be deleted because of university rules *grr*.
The finished prototype
The topic of my thesis was the enhancement of the usability of the information management in the co [read] Keywords: lotus
notes
xpages application
|
140

|
Notes free for use at home 
Mon, Aug 16th 2010 6:25a Mario Gutsche Hi,
this time not a tutorial, but a little info that could make Notes more known by the private mail users:
If you want to use Notes at home, to access you mail accounts by POP3, you can simply download the free Domino Designer Client , deactivate the development features during installation and configure POP3. You end up with a completely legal Notes Client, you only need a Domino Access License, if you want to connect to a domino server.
Downside: The Designer is ~600MB in size, so a shrunk do [read] Keywords: domino
ibm
lotus
notes
notes client
community
development
server
|
|