President/Consulting Engineer<br />Switchback Software LLC<br /><a href="http://www.switchbacksoftware.com" target="_blank" rel="nofollow">www.switchbacksoftware.com</a>
however I'm against the use of them in production applications.
Originally posted by Bear Bibeault:
Oh, I like her so much!
bear
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
So let's confidently use it in simple applications...
Originally posted by Bear Bibeault:
The problem with so-called "simple applications", as well as "prototypes", is that they all-too-often take on a life of their own and turn into big applications and "real" programs.
Originally posted by Bear Bibeault:
The problem with so-called "simple applications", as well as "prototypes", is that they all-too-often take on a life of their own and turn into big applications and "real" programs. So one must be cautious about the "oh, it's only a small app so I can cut corners" attitude. It can often bite you in the derriere.
I've got the scars,
bear
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Pradeep Bhat:
I would never use the SQL JSP tags.![]()
SQL has to embedded in JSP.
Originally posted by Bear Bibeault:
The problem with so-called "simple applications", as well as "prototypes", is that they all-too-often take on a life of their own and turn into big applications and "real" programs. So one must be cautious about the "oh, it's only a small app so I can cut corners" attitude. It can often bite you in the derriere.
I've got the scars,
bear
42
The problem with so-called "simple applications", as well as "prototypes", is that they all-too-often take on a life of their own and turn into big applications and "real" programs.
Originally posted by Pradeep Bhat:
I am surprised by this one. The life time of POC is very small. Bear, may I please from where did get the above info?![]()
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Rafael Lee:
I am beginning to understand the MVC concept and I think I'm also in favor of the layering or sepration of code to implement MVC functionalities.
So what were those designers of jsp/jstl thinking when they allowed SQL to be performed in JSPs? I hope those official designers/experts also come out and enlighten us.
The SQL controversy seems to be like a fruit dangling up the tree with the keeper telling kids not to take it. Just watch it. Or, just know it is there. But not take it.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
42
Originally posted by Ko Naing:
For simple applications, we actually do not need to worry about MVC. Since the MVC itself can make the simple applications complicated... So let's confidently use it in simple applications...
Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
I also would like to know from where Bear got that info...
If I was your boss you would be so fired!
Originally posted by Rafael Lee:
So what were those designers of jsp/jstl thinking when they allowed SQL to be performed in JSPs? I hope those official designers/experts also come out and enlighten us.
Originally posted by Jason Menard:
I believe they were thinking of MS ASP, where it is/was quite common to have page-centric "architectures" with database access embedded into the page.
Originally posted by Eric Sexton:
Are there security implications for having data access statements (sql) in the JSPs? Could a hacker use that info to his advantage?
Originally posted by Thomas Paul:
If I was your boss you would be so fired!![]()
[ October 02, 2003: Message edited by: Thomas Paul ]
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Eric Sexton:
Are there security implications for having data access statements (sql) in the JSPs? Could a hacker use that info to his advantage?[/QUOTE
Compiled JSPs are hidden from the user's browsers and keep in mind that surely java is famous for security issues...
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Maybe u guys r familiar only with MVC and think that it is the best...
Originally posted by Bear Bibeault:
I'm not sure who the "u guys" are -- maybe a new rock band? -- but I'll address the question in any case.
Am I familiar with more patterns than MVC? Of course. Are there other patterns that could be properly applied to applications, especially web applications? Sure. Do I feel that the MVC approximation known as "Model 2" is the best* pattern available for web applications? Yes, I do believe this. Is there room for alternate opinions? You bet.
However, I can't see the "it's only a simple application so we can just throw caution to the wind" approach as a valid design pattern.
bear
* My definition of "best" not only encompasses the applicability of the pattern to the purpose, but also the body of experience, knowledge, support and tools available in the community.
Originally posted by Bear Bibeault:
I'm not sure who the "u guys" are -- maybe a new rock band? -- but I'll address the question in any case.
Am I familiar with more patterns than MVC? Of course. Are there other patterns that could be properly applied to applications, especially web applications? Sure. Do I feel that the MVC approximation known as "Model 2" is the best* pattern available for web applications? Yes, I do believe this. Is there room for alternate opinions? You bet.
However, I can't see the "it's only a simple application so we can just throw caution to the wind" approach as a valid design pattern.
bear
* My definition of "best" not only encompasses the applicability of the pattern to the purpose, but also the body of experience, knowledge, support and tools available in the community.
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Ko Naing:
Well, well, well... U got 24 years of experience and know everything about design patterns...
Then all Javaranchers, let worship Bear Bibeault as a "God of Gods in Design Patterns"...![]()
![]()
![]()
Praise "Bear Bibeault", Almighty God of Design Patterns...
Originally posted by Bear Bibeault:
And if Thomas didn't fire you, I would!
bear
Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Originally posted by Ko Naing:
But can I assume the above message as some kind of insulting on personal ability?
Originally posted by Jason Menard:
I wouldn't assume that. I interpret it as "I would fire you for producing a substandard product and ignoring commonly held software engineering best practices".
Too many men are afraid of being fools - Henry Ford. Foolish tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|