Re: A beginner's tutorial
Hi, i did a quick walk thru the tutorial and something i think is missing and could help is to explain the concepts of Model and the difference between Static Model and Dynamic Model. I know it may complicate things for students and new comers to wicket programming but i think it worth, (using Page 6 (adding the Datetime to the homepage) as example its good enought to understand it. Hope it helps. On Thu, Aug 5, 2010 at 10:15 AM, H. Turgut Uyar [via Apache Wicket] ml-node+2314844-1121304651-229...@n4.nabble.comml-node%2b2314844-1121304651-229...@n4.nabble.com wrote: Hi, I am a lecturer at the Istanbul Technical University, Computer Engineering Department. One of the courses I teach is Database Management Systems where the students develop a web application using databases as their term project. Until a few years ago we used PHP but then switched to Java in order to be consistent with the course material. Last year we have gone with Wicket as our framework but the students had trouble with finding their way in the documentation. Considering that this is the first course they take after an introductory object-oriented programming course, this year I've decided to prepare a simple tutorial that would teach them how to get started on such a project. The result is on the address: http://www3.itu.edu.tr/~uyar/wicket-tutorial/ There is also a PDF version: http://www3.itu.edu.tr/~uyar/wicket-tutorial/wicket-tutorial.pdf The problem is, I'm a novice Wicket programmer. I would really appreciate all kinds of feedback, especially about the mistakes I might have made in the text or the code. Thanks -- H. Turgut Uyar [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=0 [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=1 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=2 -- View message @ http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314844.html To unsubscribe from Apache Wicket, click herehttp://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDExOTE5MDc4OTQ=. -- Sincerely, JC Work smarter, not harder!. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314919.html Sent from the Wicket - User mailing list archive at Nabble.com.
Re: A beginner's tutorial
Hi! Also use of compoundpropertymodel is confusing and misleading in a professional sense. In my opinnion it adds too much dependencies and it is not so transparent. Instead you should promote usage of bindgens, for example. http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/ ** Martin my-2-cents 2010/8/5 jcgarciam jcgarc...@gmail.com: Hi, i did a quick walk thru the tutorial and something i think is missing and could help is to explain the concepts of Model and the difference between Static Model and Dynamic Model. I know it may complicate things for students and new comers to wicket programming but i think it worth, (using Page 6 (adding the Datetime to the homepage) as example its good enought to understand it. Hope it helps. On Thu, Aug 5, 2010 at 10:15 AM, H. Turgut Uyar [via Apache Wicket] ml-node+2314844-1121304651-229...@n4.nabble.comml-node%2b2314844-1121304651-229...@n4.nabble.com wrote: Hi, I am a lecturer at the Istanbul Technical University, Computer Engineering Department. One of the courses I teach is Database Management Systems where the students develop a web application using databases as their term project. Until a few years ago we used PHP but then switched to Java in order to be consistent with the course material. Last year we have gone with Wicket as our framework but the students had trouble with finding their way in the documentation. Considering that this is the first course they take after an introductory object-oriented programming course, this year I've decided to prepare a simple tutorial that would teach them how to get started on such a project. The result is on the address: http://www3.itu.edu.tr/~uyar/wicket-tutorial/ There is also a PDF version: http://www3.itu.edu.tr/~uyar/wicket-tutorial/wicket-tutorial.pdf The problem is, I'm a novice Wicket programmer. I would really appreciate all kinds of feedback, especially about the mistakes I might have made in the text or the code. Thanks -- H. Turgut Uyar [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=0 [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=1 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=2 -- View message @ http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314844.html To unsubscribe from Apache Wicket, click herehttp://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDExOTE5MDc4OTQ=. -- Sincerely, JC Work smarter, not harder!. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314919.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
I would not promote this in any introductory material. Sometimes you have to walk before you can run. On Thu, Aug 5, 2010 at 10:27 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Also use of compoundpropertymodel is confusing and misleading in a professional sense. In my opinnion it adds too much dependencies and it is not so transparent. Instead you should promote usage of bindgens, for example. http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/ ** Martin my-2-cents 2010/8/5 jcgarciam jcgarc...@gmail.com: Hi, i did a quick walk thru the tutorial and something i think is missing and could help is to explain the concepts of Model and the difference between Static Model and Dynamic Model. I know it may complicate things for students and new comers to wicket programming but i think it worth, (using Page 6 (adding the Datetime to the homepage) as example its good enought to understand it. Hope it helps. On Thu, Aug 5, 2010 at 10:15 AM, H. Turgut Uyar [via Apache Wicket] ml-node+2314844-1121304651-229...@n4.nabble.comml-node%2b2314844-1121304651-229...@n4.nabble.com ml-node%2b2314844-1121304651-229...@n4.nabble.comml-node%252b2314844-1121304651-229...@n4.nabble.com wrote: Hi, I am a lecturer at the Istanbul Technical University, Computer Engineering Department. One of the courses I teach is Database Management Systems where the students develop a web application using databases as their term project. Until a few years ago we used PHP but then switched to Java in order to be consistent with the course material. Last year we have gone with Wicket as our framework but the students had trouble with finding their way in the documentation. Considering that this is the first course they take after an introductory object-oriented programming course, this year I've decided to prepare a simple tutorial that would teach them how to get started on such a project. The result is on the address: http://www3.itu.edu.tr/~uyar/wicket-tutorial/ There is also a PDF version: http://www3.itu.edu.tr/~uyar/wicket-tutorial/wicket-tutorial.pdf The problem is, I'm a novice Wicket programmer. I would really appreciate all kinds of feedback, especially about the mistakes I might have made in the text or the code. Thanks -- H. Turgut Uyar [hidden email] http://user/SendEmail.jtp?type=nodenode=2314844i=0 [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=2314844i=1 For additional commands, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=2314844i=2 -- View message @ http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314844.html To unsubscribe from Apache Wicket, click here http://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDExOTE5MDc4OTQ= . -- Sincerely, JC Work smarter, not harder!. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314919.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
On 08/05/2010 05:13 PM, jcgarciam wrote: Hi, i did a quick walk thru the tutorial and something i think is missing and could help is to explain the concepts of Model and the difference between Static Model and Dynamic Model. I know it may complicate things for students and new comers to wicket programming but i think it worth, (using Page 6 (adding the Datetime to the homepage) as example its good enought to understand it. Hope it helps. Thank you very much. I know the discussion is very shallow at places. Models is an obvious example of this. On the other hand, my aim was to focus on the code and explain only the basic issues. Maybe I can give pointers to the reference guide on the Wicket web page for a more detailed explanation. -- htu On Thu, Aug 5, 2010 at 10:15 AM, H. Turgut Uyar [via Apache Wicket] ml-node+2314844-1121304651-229...@n4.nabble.comml-node%2b2314844-1121304651-229...@n4.nabble.com wrote: Hi, I am a lecturer at the Istanbul Technical University, Computer Engineering Department. One of the courses I teach is Database Management Systems where the students develop a web application using databases as their term project. Until a few years ago we used PHP but then switched to Java in order to be consistent with the course material. Last year we have gone with Wicket as our framework but the students had trouble with finding their way in the documentation. Considering that this is the first course they take after an introductory object-oriented programming course, this year I've decided to prepare a simple tutorial that would teach them how to get started on such a project. The result is on the address: http://www3.itu.edu.tr/~uyar/wicket-tutorial/ There is also a PDF version: http://www3.itu.edu.tr/~uyar/wicket-tutorial/wicket-tutorial.pdf The problem is, I'm a novice Wicket programmer. I would really appreciate all kinds of feedback, especially about the mistakes I might have made in the text or the code. Thanks -- H. Turgut Uyar [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=0 [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=1 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=2 -- View message @ http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314844.html To unsubscribe from Apache Wicket, click herehttp://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDExOTE5MDc4OTQ=. -- H. Turgut Uyar u...@itu.edu.tr [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
I agree the 'model' is a very powerful concept that needs to be explained properly... However drawing on my own early experiences with with java frameworks I can say that the reasoning for why model's are valuable is difficult to understand until the principals of request lifecycle have been fully explained. The point of a model is to express a dynamic value that is is dependent on the current state of several variables than can change during the course of a single or multiple requests. In the early stages of learning any web front end technology the 'lifecycle' concept is a new one. jcgarciam wrote: Hi, i did a quick walk thru the tutorial and something i think is missing and could help is to explain the concepts of Model and the difference between Static Model and Dynamic Model. I know it may complicate things for students and new comers to wicket programming but i think it worth, (using Page 6 (adding the Datetime to the homepage) as example its good enought to understand it. Hope it helps. On Thu, Aug 5, 2010 at 10:15 AM, H. Turgut Uyar [via Apache Wicket] ml-node+2314844-1121304651-229...@n4.nabble.comml-node%2b2314844-1121304651-229...@n4.nabble.com wrote: Hi, I am a lecturer at the Istanbul Technical University, Computer Engineering Department. One of the courses I teach is Database Management Systems where the students develop a web application using databases as their term project. Until a few years ago we used PHP but then switched to Java in order to be consistent with the course material. Last year we have gone with Wicket as our framework but the students had trouble with finding their way in the documentation. Considering that this is the first course they take after an introductory object-oriented programming course, this year I've decided to prepare a simple tutorial that would teach them how to get started on such a project. The result is on the address: http://www3.itu.edu.tr/~uyar/wicket-tutorial/ There is also a PDF version: http://www3.itu.edu.tr/~uyar/wicket-tutorial/wicket-tutorial.pdf The problem is, I'm a novice Wicket programmer. I would really appreciate all kinds of feedback, especially about the mistakes I might have made in the text or the code. Thanks -- H. Turgut Uyar [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=0 [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=1 For additional commands, e-mail: [hidden email]http://user/SendEmail.jtp?type=nodenode=2314844i=2 -- View message @ http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314844.html To unsubscribe from Apache Wicket, click herehttp://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDExOTE5MDc4OTQ=.
Re: A beginner's tutorial
On 08/05/2010 05:41 PM, James Carman wrote: I would not promote this in any introductory material. Sometimes you have to walk before you can run. On Thu, Aug 5, 2010 at 10:27 AM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! Also use of compoundpropertymodel is confusing and misleading in a professional sense. In my opinnion it adds too much dependencies and it is not so transparent. Instead you should promote usage of bindgens, for example. http://wicketinaction.com/2009/11/removing-fragile-string-expressions-from-wicket-code/ It seems to me that I have to explain a lot of complicated things to explain this to the students. They are 3rd year students who have taken only one OO course, and that's in C++. Thank you both for your concern and help -- htu ** Martin my-2-cents 2010/8/5 jcgarciam jcgarc...@gmail.com: Hi, i did a quick walk thru the tutorial and something i think is missing and could help is to explain the concepts of Model and the difference between Static Model and Dynamic Model. I know it may complicate things for students and new comers to wicket programming but i think it worth, (using Page 6 (adding the Datetime to the homepage) as example its good enought to understand it. Hope it helps. On Thu, Aug 5, 2010 at 10:15 AM, H. Turgut Uyar [via Apache Wicket] ml-node+2314844-1121304651-229...@n4.nabble.comml-node%2b2314844-1121304651-229...@n4.nabble.com ml-node%2b2314844-1121304651-229...@n4.nabble.comml-node%252b2314844-1121304651-229...@n4.nabble.com wrote: Hi, I am a lecturer at the Istanbul Technical University, Computer Engineering Department. One of the courses I teach is Database Management Systems where the students develop a web application using databases as their term project. Until a few years ago we used PHP but then switched to Java in order to be consistent with the course material. Last year we have gone with Wicket as our framework but the students had trouble with finding their way in the documentation. Considering that this is the first course they take after an introductory object-oriented programming course, this year I've decided to prepare a simple tutorial that would teach them how to get started on such a project. The result is on the address: http://www3.itu.edu.tr/~uyar/wicket-tutorial/ There is also a PDF version: http://www3.itu.edu.tr/~uyar/wicket-tutorial/wicket-tutorial.pdf The problem is, I'm a novice Wicket programmer. I would really appreciate all kinds of feedback, especially about the mistakes I might have made in the text or the code. Thanks -- H. Turgut Uyar [hidden email] http://user/SendEmail.jtp?type=nodenode=2314844i=0 [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=2314844i=1 For additional commands, e-mail: [hidden email] http://user/SendEmail.jtp?type=nodenode=2314844i=2 -- View message @ http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314844.html To unsubscribe from Apache Wicket, click here http://apache-wicket.1842946.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=amNnYXJjaWFtQGdtYWlsLmNvbXwxODQyOTQ2fDExOTE5MDc4OTQ= . -- Sincerely, JC Work smarter, not harder!. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/A-beginner-s-tutorial-tp2314844p2314919.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org -- H. Turgut Uyar u...@itu.edu.tr [GPG KeyID: 0xEAF45FB8] http://www3.itu.edu.tr/~uyar/ - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
On Thu, Aug 5, 2010 at 10:54 AM, H. Turgut Uyar u...@itu.edu.tr wrote: It seems to me that I have to explain a lot of complicated things to explain this to the students. They are 3rd year students who have taken only one OO course, and that's in C++. Thank you both for your concern and help Definitely! I would not try explaining all of that stuff to 3rd year students. You can get a good understanding of Wicket without it. Now, don't get me wrong, I think it's a cool idea, but I think it might be a bit much to throw at a beginner. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
As a beginer myself...I feel the language like java plays a lot. Learning the generics would be one aspect and a must. Next to understand a simple request response usecase. Usage of each, if not all controls. How to use them and get it working as is. How would i be able to generalise usage of such controls, can we build a library of such reusable components that this project can use. By now, I would have had a good understanding of the inner workings if not too deep but to the extent one needs to appreciate it and then build custom components. Next I feel I would use those components where necesary to build the project. What patterns can be used? These are questions I still ask... If it helps..my 1 cent:) Niv On Thu, Aug 5, 2010 at 11:06 PM, James Carman ja...@carmanconsulting.comwrote: On Thu, Aug 5, 2010 at 10:54 AM, H. Turgut Uyar u...@itu.edu.tr wrote: It seems to me that I have to explain a lot of complicated things to explain this to the students. They are 3rd year students who have taken only one OO course, and that's in C++. Thank you both for your concern and help Definitely! I would not try explaining all of that stuff to 3rd year students. You can get a good understanding of Wicket without it. Now, don't get me wrong, I think it's a cool idea, but I think it might be a bit much to throw at a beginner. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
On 08/05/2010 06:18 PM, Nivedan Nadaraj wrote: As a beginer myself...I feel the language like java plays a lot. Learning the generics would be one aspect and a must. Next to understand a simple request response usecase. Usage of each, if not all controls. How to use them and get it working as is. I'm planning to include a few more topics like some basic components (selection boxes, radio boxes etc.) and sessions. Other than that, I would like students to figure out some of the stuff themselves. Of course, depending on our experience next semester, I might reconsider this. Since it's a database course I'm also planning to show examples of using other backends like Berkeley DB, db4o, and Netmind Persistence. How would i be able to generalise usage of such controls, can we build a library of such reusable components that this project can use. By now, I would have had a good understanding of the inner workings if not too deep but to the extent one needs to appreciate it and then build custom components. Next I feel I would use those components where necesary to build the project. What patterns can be used? These are questions I still ask... If it helps..my 1 cent:) Niv Thank you very much -- htu On Thu, Aug 5, 2010 at 11:06 PM, James Carman ja...@carmanconsulting.comwrote: On Thu, Aug 5, 2010 at 10:54 AM, H. Turgut Uyar u...@itu.edu.tr wrote: It seems to me that I have to explain a lot of complicated things to explain this to the students. They are 3rd year students who have taken only one OO course, and that's in C++. Thank you both for your concern and help Definitely! I would not try explaining all of that stuff to 3rd year students. You can get a good understanding of Wicket without it. Now, don't get me wrong, I think it's a cool idea, but I think it might be a bit much to throw at a beginner. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
On 08/05/10 17:36, H. Turgut Uyar wrote: Since it's a database course I'm also planning to show examples of using other backends like Berkeley DB, db4o, and Netmind Persistence. It would be very interesting if you make some of the documentation and code for this public. There are not many examples of backing Wicket with a non-relational data store, and even if it's principally straightforward, examples are always nice. Otherwise, thanks for publishing this tutorial, I like it and I think it's useful. Thomas -- --- Thomas Kapplerthomas.kapp...@isb-sib.ch Swiss Institute of Bioinformatics Tel: +41 22 379 51 89 CMU, rue Michel Servet 1 1211 Geneve 4 Switzerland http://www.uniprot.org --- - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: A beginner's tutorial
On 08/05/2010 06:52 PM, Thomas Kappler wrote: On 08/05/10 17:36, H. Turgut Uyar wrote: Since it's a database course I'm also planning to show examples of using other backends like Berkeley DB, db4o, and Netmind Persistence. It would be very interesting if you make some of the documentation and code for this public. There are not many examples of backing Wicket with a non-relational data store, and even if it's principally straightforward, examples are always nice. The code was already at a public repository: http://mercurial.intuxication.org/hg/wicket-tutorial Now I've also added the DocBook files there. Otherwise, thanks for publishing this tutorial, I like it and I think it's useful. Thanks -- htu Thomas - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org