Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #1641

Re: Validating form inputs?

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.help
Subject Re: Validating form inputs?
Date 2012-03-20 13:58 -0700
Organization http://groups.google.com
Message-ID <3875149.2356.1332277082260.JavaMail.geo-discussion-forums@pbcum13> (permalink)
References <ed7f31e9-8a19-46c7-9a7c-ad8aabfb9599@x10g2000pbi.googlegroups.com> <uA4ar.13560$fj7.13111@newsfe20.iad> <d1597b2d-aa47-4b35-8f67-c067a1173e6c@z5g2000pbu.googlegroups.com>

Show all headers | View raw


Davej wrote:
> This brings up an issue I would be interested in hearing comments on.
> In the curriculum I am pursuing we get an overview of Java and then an
> overview of JSP and servelets [sic] and then finally in the 3rd semester we
> get to frameworks such as Struts. Is this the normal progression? Does

Do a survey of curricula to find out. 

I would be surprised if anyone here has that information at hand, unless it's amenable to a search such as 
http://lmgtfy.com/?q=normal+progression+to+teach+Java%2C+servlets+and+frameworks

(Unfortunately that particular search is not especially successful. You're on your own for crafting a better query.)

> this sequence encourage bad practices or lots of things that need to
> be unlearned?

On the contrary, it seems the best way to teach what you need to know so that you don't fall victim to Programming by Superstition.

Struts makes the best sense if you've implemented some Model 2 architectures yourself. (Look it up.) Then you can appreciate the advantages and limitations of the approach.

I've worked with people who could cite chapter and verse from the Struts Javadocs but had no sense of what it did. why it did it, or how to creatively make it do what they wanted. They could only follow dimly-understood lore from manuscripts illuminated by non-technical monks under candlelight. Had their curriculum followed your pattern, they might (!) have had deeper understanding.

Similarly. I learned JPA (Java Persistence API) best when I implemented my own ORM (Object-Relational Mapping) layer, in a couple of different ways using JDBC, then did it again in JPA.

You should understand the turtles all the way down.

-- 
Lew
From the famous saying, "It's turtles all the way down."

Back to comp.lang.java.help | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Validating form inputs? Davej <galt_57@hotmail.com> - 2012-03-20 11:16 -0700
  Re: Validating form inputs? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-20 12:08 -0700
    Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-20 12:50 -0700
      Re: Validating form inputs? markspace <-@.> - 2012-03-21 09:24 -0700
      Re: Validating form inputs? Davej <galt_57@hotmail.com> - 2012-03-21 12:02 -0700
        Re: Validating form inputs? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-21 12:59 -0700
        Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-21 13:37 -0700
    Re: Validating form inputs? Davej <galt_57@hotmail.com> - 2012-03-20 12:56 -0700
      Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-20 13:58 -0700
      Re: Validating form inputs? markspace <-@.> - 2012-03-21 09:30 -0700
  Re: Validating form inputs? Roedy Green <see_website@mindprod.com.invalid> - 2012-03-20 14:28 -0700
    Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-20 19:16 -0700
      Re: Validating form inputs? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-21 17:41 -0300
        Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-21 14:46 -0700
          Re: Validating form inputs? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2012-03-21 19:54 -0300
        Re: Validating form inputs? Roedy Green <see_website@mindprod.com.invalid> - 2012-03-22 10:34 -0700
      Re: Validating form inputs? Lew <lewbloch@gmail.com> - 2012-03-21 14:56 -0700
        Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-21 19:09 -0700
          Re: Validating form inputs? Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-03-22 08:36 -0700
            Re: Validating form inputs? Gene Wirchenko <genew@ocis.net> - 2012-03-22 09:40 -0700

csiph-web