Naked Objects Version 1.0 Released 28
Rober Matthews writes "Naked Objects is an open-source Java-based framework that makes it easy to develop business systems from 'naked objects' - behaviourally complete business objects that are exposed directly to the user. By simply writing Java classes that represent the business entities, and including only business behaviour, this framework provides a unique user interface that allows the user to directly manipulate the objects, and a mechanism to automatically persist them. See nakedobjects.org for details."
I'm interested. (Score:1)
Sounds pretty cool ! (Score:1)
The idea is really great I think, cause coding GUI in Java, and in any other language, is really time consuming ! With this little help, which still stays very flexible, great work can be done in less time !
Well, not so pretty, actually (Score:1)
I just check out the demos, which are not very convicing :(. I have to rethink migrating to Naked Objects very thoroughly.
Kind a bad surprise !
Re:Sounds pretty cool ! (Score:1)
Whaddya mean? The VB/Delphi IDE style makes most of GUI creation a snap. Perhaps you are talking about something different.
Re:Sounds pretty cool ! (Score:1)
Compared to any other part of a project, the GUI developement is most of the time a pain in the ass. I'm talking about multi-platform apps, not M$ stuck kinda stuff.
Well, Delphi, has become multi-platform too lately, it's true.
Nevertheless, Nakedobjects's not the hype, see my own reply :).
Demoed it... (Score:4, Interesting)
Heavily OO (lots of drag and drop with mouse movements which is slow IMHO) at the expense of the end user, which they say they avoid somehow:
I disagree with their assertion that OO UIs are a better match. Programmatically maybe, but I don't think it lends itself well to efficient user interaction. I encourage people to download the demo and run through the user stories. I think you'll quickly understand what I mean about its inefficiencies.I'm still investigating the Millstone user interface library for development of networked Java applications that was posted in a eariler article. This seems like the type of framework I've been looking for: the ability to swap in-and-out different presentation layers without affecting the business logic (classic MVC pattern).
Re:Demoed it... (Score:3, Interesting)
I like to think I'm a quick learner, but the massive amount of crap one has to do by hand to do anything worthwhile in J2EE makes me feel just completely overwhelmed and stupid. I'd rather write code than spend all my time with the bloody scaffolding that an application server is supposed to be doing its damn self. Hot deployment and autocompilation are making servlets as easy as CGI now, but EJB and CMP have a long way to go before I want to stop throwing up my hands and write a solution from scratch in perl in less time and with about 1/100th of the code.
Re:Demoed it... (Score:1)
You could develop a command line (or a more keyboard based) interface to the same object model.
The advantage of this model it that it is much more transparent to the user than traditional applications (this is historically a strength of UNIX much more than windows).
Re:Demoed it... (Score:1)
Re:Demoed it... (Score:2)
And it's thinking like that which leads to Customer Service calls asking why the change they just submitted at your web page wasn't instantly implemented in their account. If they understood how your system works (their request is queued up along with those of hundreds of other customers, and will be processed -- in order received -- in a few minutes) they probably wouldn't call.
Re:Demoed it... (Score:1)
I agree with Rick the Red's response. I think you're forgetting how powerful an accurate conceptual model can have on a user's ability to get work done.
Good user interfaces present a metaphor that allows a user to form a mental picture of what's happening underneath. The better a user understands the abstraction they're dealing with, the more likely they are to find new ways of working with the system to accomplish their goals. Good UI design guides a user by plainly showing the consequences of an action before that action is performed.
For example, a command button that is visually grouped with a text entry box immediately suggests to a user that operating the button causes the software to act on the text in the box.
Properly exposing underlying business metaphors (implemented with classes) through a user interface should allow the user more freedom to compose behaviors to accomplish work. There's also the potential to produce a community of users that are more clued in to what they're doing and why. This allows them to have a greater stake in the system by contributing meaningful requirements.
I can't tell you if Naked Objects does this the right way, but the idea is good. Rather than show a 'sorry state' as you put it, I think it shows a willingness to experiment with enabling users rather than thinking of them as stupid cash generators.
Multiple Dispatch languages and "Naked Objects" (Score:1, Interesting)
This manifests itself in the Java Naked Objects by the presence of classes encoding abstract operations analogous to abstract nouns, where the instance of the class represents a "verb", rather than just using methods to represent the verb.
I'd like to see a naked-objects like interface for a multiple dispatch OO language. Multimethods could simply be on the right-mouse-click, select two or more objects and the right-click could display applicable multimethods that are part-filled as you do stuff.
This would be closer to natural language use.
Re:Multiple Dispatch languages and "Naked Objects" (Score:1)
Since Naked Objects is open-source, it might not be too difficult to modify it to interract with an extension of Java with multi-methods. See for instance the Nice language: http://nice.sourceforge.net
OS/2 WorkPlaceShell (Score:2, Interesting)
Since this is written in Java it may be easier to develop than it was in OS/2.
Hopefully there won't be any copyright violations.
Questions (Score:4, Insightful)
SECURITY SECURITY SECURITY
Let's hope this has a sophisticated security API (could not tell from either web site or manual). Otherwise your security is reduced to the "security" of visibility levels of methods (i.e. none).
The second question is, can a website be autogenerated instead of a Swing GUI? Nobody wants to drop apps down to the client. Otherwise, very interesting idea.
javapro article (Score:2, Informative)
Uninteresting (Score:1)
Back to the origins (Score:2, Insightful)
The novelty here is the intention to show only bussiness logic and replace the interpeter with the desktop (Smalltalk was language-oriented). A great effort has to be done in hiding the GUI-management code.
Hope that they succeed with this project. I've been pondering for some time now that the whole idea of applications is almost always wrong, and something like this is the correct way to go. At least the concept is far better than the applications+scripting language that Gnome is pursuing.
Re:Back to the origins (Score:1)
I know that as an ex-WPS user, after getting used to it, every other desktop simply is not on the same level, despite the fact that WPS is about 10 years old.
Pimp OS (Score:2, Funny)
Hmmm, I'm looking at the screenshot [nakedobjects.org] which is posted on the article, and I'm a little amused...
Customer?
Communication?
ChildBenefitScheme?!?!
Case?
Payment?
Officer?
I mean, I can understand that a PimpOS or a SlutOS would want to be object oriented and all. But isn't keeping a record of all your activities going to get you into trouble in most places?
I suppose that the developers are located in Nevada or Amsterdam or someplace.
Re:Overrated (Score:2)
User Model = Program Model (Score:1, Insightful)
From what I can see, NakedObjects enourage the differences between these models to be minimized at every step in the design process.