Hi Adriaan,
It's great to see more and more people interested with RIFE and by
learning Java you are really diving into a huge area of high-end
software engineering.
I've just taken a very brief look at your code and I must say that you
are on the right path. There are a few suggestions I want to give you,
though:
- Take a look at Java package naming conventions. You should always use
a valid domain you own to prevent collisions. For example
com.yourdomain.tbs instead of just tbs.
- Comment more. What seems obvious today, may be a great riddle
tomorrow. It's a good habit to *always* write comments, even when
writing seemingly simple code. Still try to write only non-trivial
comments, there are many good guides on commenting out there.
- JavaDocs. You should take a look at JavaDocs. Most editors help you
with writing those. If your editor does not, try Eclipse (eclipse.org).
- For Java, there is an official document with Code Formatting
guidelines. Find it here: http://java.sun.com/docs/codeconv/ - It's a
pain to read, but once you got it it really helps, because almost
everyone is following those guidelines.
All of these suggestions are more concerning your code and less your
logic. It would be really time consuming to dig into what you are trying
to do there. So I can only recommend you read stuff about "design
patterns" and "software architecture" to learn about these things. Maybe
you should also get involved in an open source project where you'll be
able to get some feedback from other team members.
If you have a concrete problem involving RIFE, feel free to post a
precise description to this list and I'm sure someone will have a look
at it.
Regards,
Stefan :)
apdewith schrieb:
Hi,
Reading to the mailing list and learning from questions and answers I
decided to share my experiments with Rife.
I am trying to build up a tour reservations application (partly just
for fun) in small steps.
Getting to know Rife in more detail is one of my goals but also
building up java programming experience.
I started with Rife jumpstart ofcourse, elaborated on the friends
example first, tried some template variants and then started with the
tbs (tour booking system).
Note that this is an experiment of a novice java programmer and that
there are several ad hoc solutions that should be labelled 'not
perfect but for now works fine for me'.
Attached is a dump of my source directory that should work out of the
box in an Eclipse Rife jumpstart environment.
Any comments and/or questions are welcome.
Kind regards
Adriaan de With
------------------------------------------------------------------------
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users