Hi Juergen,

Juergen Donnerstag wrote:
David,

yes you're right we have to work on the docs, has been on our list and
is under construction. Did you check out our wiki and (the outdated)
user guide. it should provide at a beginner some inside into Wicket.

You mentioned you would simplifiy the API even further. You mentioned
IModel. Anything else that comes into your mind?
I my gosh, do you realy want to get me started on that? :-)
No, for real:
There are lot's of things that need very much simplification.
When i have some time, we may discuss that in detail (if you are interested) in a chat or something like that (Log of chat goes to maillinglist/wiki of course).

One of the much important things is to realize the "programm to an interface, not to an implementation" principle.
For exmaple:
Session should be an Interface and SessionImpl should be (one!) implementation of it.
Btw: Don't name interfaces with a I prefix, that is not so good.
It should be always like that:
Car exmaple:
interface Car {};
class CarImpl impements Car {};
or
class BmwImpl implements Car{};

I know ppl have different opinions about such things, but the i discussed those things for a rather long time with a lot of developers and some very very good (actually one of the best programmers out there). I have lot's of serious reasons why i think you should follow this naming convention. And the most important thing is: Use interfaces rather then concrete implementation! And another very very thing is: Use delegation rather than concrete inheritance!

Again, i have very serious reasons why i think that way.
And it does not mean much more work to do with proper coding tools (Like IntelliJ IDEA).

I think the Idea of Wicket is geniusly!
Especialy the part that code is attached to free placeable tags with a proper wicket:id!

But i think at this point the API needs a revision to simplify it and
to realy follow some very important rules (like avoiding concrete inheritance).
Btw: have a look on that:
http://www.javaworld.com/javaworld/jw-08-2003/jw-0801-toolbox.html
AND AFTER THAT ALSO READ THAT! --> http://jtiger.org/articles/why-extends-is-not-evil.html

It explains very very well what's the problem with concrete inheritance.

And last but not least:
I think you core developers have done a very good job and i'm very happy to use wicket! Everything i said (and will say) is not meant as a complain i realy want to participate in wicket and to make it the best WebApp framework that exists (And i think wicket can reach that target! If i think about all that XMl-Config files crap like with Struts and JSF :-))

So please always thake what i say at what is it meant to be: Constructive critism.

Thanx again for your Work,
Dave



Juergen

On 8/2/05, David Liebeherr <[EMAIL PROTECTED]> wrote:

Juergen Donnerstag wrote:

Sorry, I guess except the javadoc there is no extra doc on it. What is
your question? Signin and Signin2 and not very complex.


I think this is precisely the Problem.
I found it already out by myself, but it took me some time to find and
understand that the key thing is the checkAccess-method.
You think it is very simple code. But you are one of the Developers that
wrote the Libs, so you know what checkAccess do and you know that you do
not have to search in the WebApplication-Class code to search where it
is redirected to the Login-Page.
So i think the problem is for outsiders and newbees of the project many
many things are not so clear as you might think.

I think the lack of good Documentation - and by documentation i don't
mean a simple doc of the API methods, rather a documentation describes
the realtionships between components and how to use them - is one of the
biggest problems (or todos) for wicket.

Another Problem is, that's at least my personal opinion (and please
thake it as constructive critic and not just as a complain) is that the
api is yet to complex. I thought one of the main goals of wicket was to
keep the learning curve as low as possible. But the api is to complex
for that i think. Especialy the IModel API is very complex and i think
it would be a very good idea to simplify it much more.

I mean at this time i am a newbee to wicket for my self. But that is
good bc that way i can provide the "sight of a newbee". Developers of
the proect may thing that something is "quite easy", but if i'm a
developer of the project i know too much already to tell if a thing can
be easy understood.

But however thanks for your help,
Dave


Juergen

On 8/1/05, David Liebeherr <[EMAIL PROTECTED]> wrote:


Is there any documentation/tutorial available for the Signin Exmaple?
I realy have some problems understanding how it works.

Thanx,
Dave

PS: Wicket ROCKS!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies

from IBM. Find simple to follow Roadmaps, straightforward articles,

informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to