Lotus Notes Development (Composite App? Or not?) - lotus-notes

I am a new Lotus Developer looking for some advice. I am working with Lotus Notes 8.5.2 and using Designer to develop my applications.
I am designing a new application based on one existing database - the 'People' database. This contains all information on all Employees in a certain environment. Some employees are secretaries to other employees, and this is indicated in the employee record, as each employee (along with name, phone, etc) has a field called 'Secretary'.
What I need to do is be able to click on a record (Person) in one frame, and subsequently load the information on their secretary in a seperate, smaller frame. I understand how to target frames at each other and can load information on the selected person in a new frame.
However I cannot load information on that person's secretary in a seperate frame.
If anybody has any ideas, it'd be much appreciated.

If you have the time to learn the technology, XPages would be the way to go, even in the client. A composite application will work also but for a new developer there is more activity around XPages.

I would avoid spending too much energy learning the composite application architecture. I don't believe this is the real future direction for IBM. You could implement a similar design using XPages and taking advantage of the built-in AJAX functionality. (You can have a page with a section which refreshes to show the Secretary details when you change the employee selection). If you have worked with ASP, the XPages approach will seem very familiar.

There are different levels of coding when it comes to compApps. You can have simple interaction through lotusscript which is reasonably high level, to low level Java/RCP development.
From your description it sounds like you are doing high level actions. So I recommend looking at "My First Wire" tutorial.
http://www-10.lotus.com/ldd/compappwiki.nsf/dx/ibm-my-first-wire
I wrote some time ago but still works. It should explain how to have your code action on a wire update.
As with the others I concur on learning XPages. Later versions allow you to send wire updates to an XPage. A sample is here.
http://www-10.lotus.com/ldd/ddwiki.nsf/dx/XPage_Components_in_Notes_851_Videos.htm

Looking at what u want to make i personally would go for xpages and not for comp app.
And since you said you are new at developing in Domino Lotus Notes i believe your best bet is to go for Xpages.
You will a lot of info,tips, ticks, reusable code and more on:
openntf.org,
planetlotus.org,
xpages.info,
xpageswiki.com,
IBM.com,
and more just google
Advantages are in the already given in above answers:
-
To summarize
- Xpages is for the web and for the notes client
- Far more possibilities than comp app offers
- You will have more control on have the app looks and feels, due to HTML(5), CSS(3) javascript
- A very big online community, on the above sites, in twitter here( Stackoverflow)
- A steep learning curve if u have no knowledge of jvascript, java, html and css, but u will progress in no time.
Here are some books u want.
Mastering Xpages
Xpages the extension library
Xpages portable command guide
Buy number 1 and 3 immediately. Or let your office buy them. Let the admins read Xpages portable Command guide, mm beter order two copies, It has a wealth of info on server settings for xpages, so it is for admins a must read as well.
Considerations:
Like Ben Poole said be aware for complex stuff in regard to
performance
LN client needs to have the extension lib installed if you used it to
develop a App.
The first time u start a xpages i the notes client (XPiNC) u will
have a long load time can be minutes deepending on the application.
This is because the xpage engine is not loaded at NC startup. after
that it wil be faster. First run loadtime say 20 secs, closing it and
starting it approx 2-4 secs.
One other thing if you go for xpages dont try to rebuild it so it looks like it was in the Notes Client.
And since u already have an notes app with views and forms you already have the groundwork.
And u can keep it simple, Ed just gave you a glimps of partial refresh of a page.
Hope it helps

Related

One time solution for a web form to collect user data? (Excel?)

I have a small and simple project for 3 weeks duration. The application is a classic wizard type of form:
A conditional form that have a series of question, depending on the answer to each (or combinations) of questions, the users are then taken to different set of questions.
Questions are of variety in yes/no/dropdown/text and adding line items (i.e. how many cats do you have? 6? here are 6 name fields to fill out). There are about 100 questions total with several possible routes.
Here is the thing, the client is currently interested in using Excel for this (i.e. macro to hide/show columns, and macro to add rows.). Then to collect information, they would send out the excel file 😨
I want to know what other technologies (especially in the web space) that can do this (instead of horrendous excel). Note, before you suggest many Online Form builders Apps out there, that's not possible. The client IT would reject almost all external hosted solutions. They would rather have an app build to deploy on their server, behind their firewalls. Because of the enterprise security level requirements, even our client is reluctant to approach their IT (but ironically resort to Excel Macro since IT simply hand-waving at Excels' security as "good")
If I was to create this for of application in house, where should I start and what technology stack should I consider? Thoughts on complexity and time of that?
Thanks

Wireframe for every single screen/page

I am an automated-test engineer and call it occupational hazard, I keep thinking towards making automated testing efficient and easy.
Couple of weeks back, I was thinking, in fact just wondering, if we could introduce a new process where I force designers/developers to provide me a wireframe for every single or unique screen in the web application.
Example: In a hypothetical web application, if home page displays differently for different profiles like associates, approvers, auditors and managers, I want a wireframe for each of those profiles. But if there are 2 managers (data combinations) in the organisation, I don't expect wireframe for these 2 managers as just data is changing and structure would remain same from automated-testing perspective.
This helps in automation in the following manner:
Say a sprint starts and it's decided that 2 new features shall be developed in this sprint.
Wireframes for these 2 new features shall be provided to the whole team at the begining of the sprint say in sprint-planning meeting.
Using these wireframes I would automate my testcases and when the actual screens are deployed, I would just run my automated-testcases. Of course they will fail due to some minor issues but they will be easy fixes. This is way better than not starting automation until the actual screen are deployed.
If this approach is possible, I will later demand for id and name properties of user controls (like links, buttons, edit boxs, check boxes, radio buttons etc) along with wireframes. I am aware that some teams are already sharing id and names properties of user controls with their automated-testing team upfront so that they can automate the testcases even before actual screens are deployed. You could say my idea is little enhanced version of that.
It sounded impractical so I stopped thinking towards it but later felt like I should ask the community if it's possible? if yes, what's the overhead on the overall design/development team.
Some developers reading this might think that pffhhh... we are packed with stuffs already and this would be an overhead. But trust me. Early collaboration with testers and automate-testers would really help the quality of the application. So if the overhead is well within the limit, we could think towards introducing this process.
Please let me know your views.

Good WPF TreeList control for real time data

I'm looking for a good WPF TreeList control (free or otherwise), that behaves reasonably well with lots of cells changing in real time.
Do you have any recommendations?
ps: By TreeList I mean a grid with hierarchical rows that can be expanded/collapsed.
I've tried extensively Telerik's RadTreeList control and Syncfusion's GridTree control.
My assessment is that Telerik's controls are in general better documented and better Architected, but their grid is quite slow doing the initial loading of data, especially with lots of columns. Once ItemsSource is binded the real time update works fast. Therefore if you are going to be switching ItemsSource often I don't think Telerik (as of today) is your grid (e.g. a master detail screen with two grids, one for master records and the other for details... not good because the details grid needs to change everytime the user clicks on a master row)
On the other hand, Syncfusion is very fast for both, loading data and for real time updates. Their documentation is not great though, so you rely on their customer support for answers.
Both Telerik and Syncfusion have very good customer support.

I can't figure out where to start with GIS application development, or which technology to select

I am very new to GIS development, and to be be frank I have no background about it at all. I searched the web but the tutorials I found seemed to assume the reader has some background information.
the thing is that I am confused about what to read or learn, there seems to be lots of technologies, and I feel lost since some speak about openlayers, geoserver, mapserver, google maps, and open street maps.
So here is what I am supposed to develop, and I hove you could give me an advice about which technology to use, and where should I start reading - given that I know almost nothing -.
Case 1: a closed system for about 20 users only, who can specify locations on the map, and the web application will store the latitude and longitude of the locations and show the markers. I wanted to use google maps api, but I cancelled that since there license requires you to purchase the service if the system is a closed one. so what technology should I use in such case? I need a free option, also I will be only using web server, so if the solution includes using my own geoserver, or something like that I won't be able to do it.
Case 2: I am supposed to display the roads and routes between two given points, and probably add some notes on the map. For this I case I can use my own map server/geo server, but again I want your suggestions.
of course the solution need to be open source
finally, I hope you could tell me what to start reading first,
Start by looking over at https://gis.stackexchange.com/, starting with the tags [web-mapping] and
Some topics in particluar you may want to look at are:
https://gis.stackexchange.com/questions/8113/steps-to-start-web-mapping
https://gis.stackexchange.com/questions/8238/where-how-to-learn-about-getting-started-with-web-gis
https://gis.stackexchange.com/questions/13868/looking-for-a-developer-friendly-web-gis
As for skills and tuorials, look at:
https://gis.stackexchange.com/questions/17227/free-gis-workshops-tutorials-and-applied-learning-material
https://gis.stackexchange.com/questions/913/web-gis-development-skill-sets

Usability Study of opening links in a new browser window

I hope this isn't too off topic for programming, but I'm sure lots of you would like more information when dealing with clients or managers on this topic.
I'm looking for actual usability testing & research into opening browser links in a new window.
I'm aware of all the reasons why it's a bad idea, but that's not what I'm looking for.
I'm also not looking for 'Jakob Nielson Says so', that won't cut it with my audience.
Cheers.
Murray.
If you need to back up every design decision that you make with a relevant usability study or research paper, you won't be able to get much done.
If you've worn out Jacob Nielson, you could try Johan Petersson
http://www.trilithium.com/johan/2005/03/target-blank/
When dealing with your type of audience who just don't get it, the following has some good points: http://000fff.org/design-discussion-principles-how-to-get-your-client-to-love-your-design/
It's important to look at the goals of your manager or client who wants you to implement the "open in new window" functionality; they are not stupid, they are probably trying to e.g. keep users on the original site - if you gently point out the fact that the new window doesn't have the back button enabled in all(?) browsers such that it prevents users navigating back to your site, they might come around.
If not, and they have greater authority over the design, you'll have to go with their decision - it could be reversed later if you can show a real world example of it leading the user astray, or if your stats show that the user doesn't return after a new-window exit.
Cracking open "Research-Based Web Design & Usability Guidelines", I see a few studies that could help you. Section "7.1: Provide Navigational Options" cites several sources, which I've copied below. It should be noted however that the strength of the findings was rated only 2 out of 5.
The book itself is free (funded by US tax dollars) and available here: http://www.usability.gov/guidelines/
Detweiler, M.C. & Omanson, R.C. (1996). Ameritech Web Page User
Interface Standards and Design Guidelines. Ameritech (now SBC).
Lynch, P.J. & Horton, S. (2002). Web Style Guide (2nd Edition). New
Haven, CO: Yale University Press. Retrieved November 2005, from
http://www.webstyleguide.com/ index.html?/contents.html.
Spool, J.M., Scanlon, T., Schroeder, W., Snyder, C., & DeAngelo, T.
(1997). Web Site Usability: A Designer’s Guide. North Andover, MA:
User Interface Engineering.
Zimmerman, D.E., Slater, M., & Kendall, P. (2001). Risk communication
and a usability case study: Implications for Web site design.
Proceedings of the IEEE International Professional Communication
Conference, 445-452.
Google was unable to provide me with any research results related to opening browser links in a new window.
I would assume that the answer depends on the context and scenarios. For instance, when browsing the Washington Post online, I like the linearity of the browsing experience with link replacing the content of the current window, but when using Google Docs, I like that the main page opens a new window whenever I choose to create a new document or open an existing document.
You may want to consider convincing the client to perform usability testing to guide the decision.

Resources