Archive for development

No more a Domino developer -> XPage designer =)

I was reading an article on Smashing Magazine and noticed somewhere a link to CV Parade. I was a bit shocked about the state of my own CV (still in a deadly boring Word document) so I decided to polish it up.

Below is the result:

 

Here is link for download as PDF: 20111003 – Curriculum vitae Petrus Kwinten

Leave a Comment

New control submitted for the XPages development contest

I have submitted a new control to OpenNTF for the XPages development contest. The control is an abstract of the implementation of Galleria in the Bildr project.

In short words: the control enables to publish an image slider on your Xpage. A sample is demonstrated in the following image:

 

You can download the control here. Have fun!

Leave a Comment

JSF Expression Language (presentation)

Yesterday I participated in an Advanced XPages Workshop by Emvege which was interesting. In the course material was a presentation on the JSF Expression Language which is also available online: link.

Comments (1)

Design @ IBM – Widget Gallery

I am not sure if anyone has mentioned the Widget Gallery on IBM’s Design site?

If you explore the widgets gallery you will find an excellent description of each (dojo) widget including demo’s, documentation, source code, enhancement and related widgets.

A recommendation!

Leave a Comment

Web Application Development Resource List

I am moving over my bookmarks from Firefox to Google Bookmark (just because I have more stuff in use @Google) when I noticed some ‘blasts from the past’ like this link for instance:

Web Application Development Resource List (on the Notes/Domino 4 and 5 forum)

I wonder if anyone knows a similar list that is more up to date?

Comments (2)

How to (re)load a form in a sidebar panel?

I have created an app to upload and share large files over the network. Instead of sending attachments, files are being stored in a central repository and references to the containing document are being sent.

It works great, users select recipients, add a message and select and upload a file. File size is being checked via this procedure. Recipients receive a separate download URL and access code. The web interface is based upon the XPages framework.

To make it easier to create new documents the idea came up to provide the upload form in a  sidebar panel.

Not a problem, you would say but somehow. But then I am faced with the following question: how do I ‘reload’ the form in the panel?  The

@Command([Compose]; “”; “FormA”)

opens the form in a normal window pane (not within the sidebar panel window pane).

A similar attempt:

Sub Click(Source As Button)
Dim workspace As New NotesUIWorkspace
Call workspace.ComposeDocument( “”, “”, “FormB” )
End Sub

has the same effect.

And with

Sub Click(Source As Button)
Dim ws As New NotesUIWorkspace
Dim ses As New NotesSession
Dim doc As NotesDocument
Dim uidoc As NotesUIDocument
Set uidoc = ws.CurrentDocument
Call uidoc.Close
Set doc = New NotesDocument( ses.CurrentDatabase )
doc.form = “FormA”
Call ws.EditDocument(True, doc)
End Sub

I get the message:

Do you got any suggestions?

Leave a Comment

Seven (Must-See) Videos and Presentations for Web App Developers

Some may argue if video’s are the best way of educating developers, here are at least some presentations I enjoyed watching:

Smashing Magazine

Leave a Comment

My first experience(s) with Domino Designer 8.5plus

I am testing the latest drop-code for Domino Designer 8.5plus and it is my first development experience with XPages. I just thought I will write down my first experiences, maybe it may be useful one time. At first I was not sure enough to publish this, but it was announced that design partners may write about the design program I fell more confident to do so. For now working with  XPages can not be described as love on first sight.

First impression

Coming from a generation of Notes developers prior to 4.5 this version of Designer impresses me most. It makes Notes 5 as ‘super human software’ a joke. The other releases 6 and 7 where not spectacular, you just saw Notes getting behind other development platforms.

So 8.5plus gives a refreshment and hope for the future.

My experiences

With high expectations come also delusions.

As learning example I use a workshop designing in XPages by Emvege and  Declan Lynch lines of articles how to create a basic XPages based application. I also followed the short tutorial in the Designer Help for as long at that one is helpful. Their is definitely a need for adequate developer’s tutorials IBM, you can’t release a new way of developing without providing proper educational material. The Developers Help is just not supportive enough.

Application (database) properties

Much better!  The prior properties box for database was difficult to read. Too bad that text / labels can not be copied as text to the clipboard.

DIVs are poorly visualized

In Declan’s tutorial he uses DIV’s to position blocks of data. When editing the XPage in Designer the present of DIV’s are seen when looking at the source code. Some nice mouse-over with dotted lines would make this more clear.

Okej this gets reduced when you place your DIV’s in custom controls.

Line numbering and being able to collapse blocks of code are nice new add-ons.

Source code view

Oh boy your XPages are a mess when you view the source code. Some people like to indent their code, since they know someone after them are going to give support on the applications. Indenting the source code is a disaster. Tab forward is doable for multiple lines of code but tab backwards? I wonder how the code for IBM templates will look like… Please take a look to example at good WYSIWYG editors where you can indent blocks of text via buttons.

I guess no-one wants to be hand-over unreadable messy-spreaded code, do you?

OneUI Theme

I guess you have to do your homework a bit for understanding the oneUI theme (or other defaut themes). When I tried to apply some common styles from that theme on elements on my XPage I got some unwanted results. This forces me to go back to my common CSS knowledge and not able to exploit the features in the oneUI theme. Does anyone know a good description for all the styleClasses?

Dojo

Dojo is still a mystic for me, I have worked a lot with Prototype and Scriptaculous before, but basic knowledge of Dojo seems to be necessary if you want to go beyond basic XPage development. New courses seem to become available but in these low economic times budgets are frozen. Okej for now I could do with a good book on Dojo.

Performance

I do not know what your experiences are but XPages are far from fast. Just put in a rich text field and see how many files are being called.

Advanced programming

From moving to a senior Domino programmer into a novice XPage developer feels a bit awkward. Some goals you want to achieve are so basic knowledge in previous Domino development. In XPages I find it hard to find a way to solve the question. I guess my more novice co-workers will find it even hard to understand how they must develop in XPages. Best practices, tutorials that have  broad range of topics and go beyond using the default usages of core controls are rare. So no head-starts here.

I guess I am not alone in this area, so maybe an official IBM place where you can post your question and get some leads how to solve you problem would be a winner for most developers. I guess for now the 8.5 forum is that place to be. We all know that that place has never won a price for usability (sigh).

Road ahead

I guess finally we will come to a point where we release our first XPage based application and where we are proud of. For now we are far from that. Luckily the winter starts early in Sweden and it will be long so we have a lot of time to be inside and read and study.

In the meantime I am just saving all your XPages blog-posts in a Notes database so I can use that as a reference when my colleagues start developing in XPages. “Good practice does follow” so please keep contributing your findings via blogs…

Disclaimer

IBM Lotus Notes/Domino and Lotus Notes Traveler 8.5.1 is prerelease code and there are no guarantees from IBM that the functionality presented or discussed will be in the final shipping product.

Comments (1)

The Woork Handbook

One of the Blogs I like to follow is Woork by Antonio Lupetti. Antonio writes about web design and web development. His articles contain appealing tutorials and great, practical example code.

A must read for Domino developers.

Last month he has bundled his articles bout CSS, HTML, Ajax, web programming, JavaScript frameworks and other topics about web design in The Woork Handbook, which you can download for free:

 

The Woork Handbook

The Woork Handbook

Can we see this as a trend ‘bundled blog-articles’?

Leave a Comment

Eclipse and Java for Total Beginners

This free video tutorial will help get you started writing Java programs using Eclipse version 3.3. No prior experience with Eclipse or Java is assumed.

The 16 lessons total about 3 1/4 hours and are each between 9 and 14 minutes long.

The lessons guide you through a step-by-step process creating a simple “personal lending library” application. Each lesson is fully narrated.

Download

Comments (1)

Older Posts »
Follow

Get every new post delivered to your Inbox.