Property Converter 2 Component

Posted by Bob Balfe on June 30, 2009 under computers | 4 Comments to Read

I had a meeting with a customer last week and introduced the Property Converter component to them and it quickly became a design discussion.  The result was, I took the OpenNTF project and implemented these changes.  The result is a new hidden component that can have N number of properties defined and you can attach a script (JavaScript) to each of those properties to do transformations or string manipulations.  The other modification is both the new and the old component now stores the scripts in the component data (which now transports with the composite application).  This should greatly reduce the amount of Java code and custom actions many people do to manipulate strings (properties).  This also means any time you need a new transformation you simply create a new property.

Once I get the legal approvals I will be submitting this back to OpenNTF.

New features:

PropertyConverter

  • Now saves the script with the component.
  • Now uses the new API’s for tooling in the CAE
  • The Save button and text field is hidden/readonly in the runtime
  • Test button now publishes the value to the property broker.
  • Added it to the CAE palette under “OpenNTF” category

PropertyConvert2 - brand new component

  • Based on the original concept but allows N number of properties to be created.
  • Each property is associated with its own script.
  • All scripts and properties are stored with the component in the CA.xml
  • The test button publishes the property.
  • Added it to the CAE palette under “OpenNTF” category

Here is a sample of the components in the run time (can be Notes or Expeditor) - realistically these would be hidden so they would be more like service level components.  The red lines show the flow of the wiring and I used a basic web browser component to display the resulting text.  You can imagine these components are hidden and you would only have your normal application components visible and these components doing the transformation.

(click on image to make larger)

propertyconvert2-runtime

Components in the CAE:

Notice the Save buttons and the script is now enabled for editing.  The component “knows” when it is in edit mode and allows the assembler to modify scripts and add properties.

(click on image to make larger)

propertyconvert2-cae



technorati tags: , , , ,

Poll: Do you want education material on creating Java views showing Notes data?

Posted by Bob Balfe on June 18, 2009 under computers | 3 Comments to Read

I got a lot of random emails on this subject ever since BONES was put on the blogosphere but I would like to get a better picture of the demand. This refers to SWT and JFace views, not the built in Java rendering that will be possible in Notes 8.5.1.

Do you want education material on creating Java views showing Notes data?

  • Yes (90.0%, 62 Votes)
  • No (6.0%, 4 Votes)
  • Later, maybe a year from now. (4.0%, 3 Votes)

Total Voters: 69

Loading ... Loading ...


technorati tags: , , ,

Why you don’t have to suck at Eclipse plugins…

Posted by Bob Balfe on June 17, 2009 under computers | 2 Comments to Read

My friend and former colleague Juan R. Rodriguez from Everclear Technologies Inc. is offering a 4 day workshop on developing plugins and composite applications for Expeditor 6.2 - which is what Lotus Notes 8.5 is based on.  You can check out the agenda and labs below - you will get a very wide breath of coverage in the Eclipse and Expeditor platform with the principles of componentation and composites applied.  So if you want to impress Nathan or get hired by his team you might want to check out this workshop.

Workshop agenda

  • Workshop Overview
  • Composite Applications
  • OSGi Overview and Architecture
  • Eclipse architecture and the plug-in model, fragments and features, IDE and wizards
  • Expeditor Toolkit and Client for Desktops
  • Creating a Composite Application
  • Eclipse component development - SWT/JFace
  • Component collaboration with Property Broker
  • Fragments
  • Creating Features and Eclipse Update Site
  • Composite Application Editor
  • Integrating existing applications as components
  • Integrating browsers as components to access web applications
  • Browser container components with collaboration
  • Eclipse MVC Programming Design Pattern
  • OSGi and the Event Admin Service
  • Branding applications
  • Personalities
  • Extending the default personality
  • Preferences
  • Integrating AWT/Swing applications
  • Q & A

Workshop hands-on sessions

This hands-on workshop includes the following lab sessions to illustrate how to develop eclipse components and understand what tools can be used to build composite applications:

  • Lab 1 - Hello World and building a composite application
  • Lab 2 - Develop eclipse components using Eclipse IDE
  • Lab 3 - Component collaboration with Property Broker
  • Lab 4 – Creating Fragments
  • Lab 5 - Publishing an Eclipse Update Site
  • Lab 6 - Using the Composite Application Editor
  • Lab 7 - Integrating documents
  • Lab 8 - Integrating web browsers as components
  • Lab 9 - Web browser container
  • Lab 10 - Eclipse MVC Programming
  • Lab 11 - Cooperating components using OSGi Event Admin
  • Lab 12 - Branding your application
  • Lab 13 - Personalities
  • Lab 14 - Extending the default personality
  • Lab 15 - Using eclipse preferences in composite applications


technorati tags: , , , ,

Expeditor’s most wanted!

Posted by Bob Balfe on under computers | Be the First to Comment

The Lotus Expeditor Wiki is asking for input on anything and everything Expeditor.  The platform under Lotus Notes, Sametime, and Symphony is a very powerful platform based on Eclipse.  If you want to see more education material or postings on API’s, plugins, patterns, or anything related to the Eclipse side of the Lotus products, post your needs here.

technorati tags: , , , ,

Will HTML 5 kill Flash and Silverlight?

Posted by Bob Balfe on June 16, 2009 under computers | Be the First to Comment

Very interesting article over at the InfoWorld site.  It has a lot of valid points and I think if something so standard as “HTML” will provide this stuff then it makes me understand why Microsoft is so reluctant to support HTML 5.

“HTML 5, a groundbreaking upgrade to the prominent Web presentation specification, could become a game-changer in Web application development, one that might even make obsolete such plug-in-based rich Internet application (RIA) technologies as Adobe Flash, Microsoft Silverlight, and Sun JavaFX.” - link

technorati tags: , , , ,