G
Guest
comments BELOW and INLINE...
NO, NO, NO, NO......
Forgotten to replace one piece....HOW about the other way around? With OOP,
making the change in ONE place doesn't mean that EVERY PLACE is going to be
right.....Ohhhhhh....did I hear Design Pattern????????
What if it's a new business logic? Heck, we don't even need that! Where are
those Design Patterns NOW?
How do you know if the Object Model was correct in this INSTANCE????
With Search and Replace, at least I know and have a list of what's being
changed.....With OOP, you HOPE, READ H.O.P.E. that your Object Model was
done right and took into considering this NEW change that is being
added.....
A NEW CHANGE, that YOU DIDN'T anticpate from the very beginning.
A new change that was never designed into the Object Model.
Uh, Ohhhh....Did I hear on the News again another Windows Update ..Critical
Update from Microsoft.....
Oh, but since we trust OOP so much, this NEW Update, IS SUPPOSED TO NOT
affect anything IT shouldn't AFFECT...... BUT of course WE DON'T KNOW....
WE are SO PROUD of OUR OOP MODEL...IT SHOULD ALWAYS WORK....
HOWEVER, if it DOESN"T WORK, we can use the standard excuse, "BUGS ARE A
FACT OF LIFE, JUST LIKE ANYTHING ELSE"
HOW CONVENIENT????????
TO the other Poster, If I had a penny every time a Programmer said, "Bugs
are a Fact of Life...."
Oh really, "everything in life is NOT PERFECT"....BUT OOP is PERFECT?????
IS OOP is PERFECT, why do we have software patches every WEEK?
And just how long will it take to modify 3 UI's? (seconds/ minutes /hours
please?)
Careful how you answer this?
This is exactly what I am looking for......
Hmmm.......
So,
WRONG, COPY AND PASTE AND MODIFY and let each method of order entry stand
alone by itself.
Let's take a look at the time to copy paste and modify and single
method....will I be able to use a hot key...why NO....OK.
Control-C, Control-V 3 TIMES........Opppppsssss repetive stress
syndrome.......
How many seconds is that????????? Let's compare that time with the OOP
method?????
WRONG. It's all encapsulated in a STANDARD METHOD......EASY to SEARCH and
REPLACE
You ALSO KNOW WHICH PAGES need to be replaced in the first place....Why is
this possible? K.I.S.S. Because the pages are named properly and can easily
figure out which pages should have been replace just by similarly named
pages...
EASY AS PIE......
WRONG. YOU CAN"T SAY that 2-TIER was to blame for making that
difficult.....YOU don't even know if it was 2-Tier to begin with....these
were a lot of mainframes and databases logic...done long time ago and done
for performance reasons......DON"T even bring that as an example......
OUT OF CONTEXT AND REACHING......
YOU DON'T KNOW ANYTHING ABOUT INTERNATIONAL APPS for the WEB.
Take a look at Microsoft Web site....is every web page in english have a
corresponding foreign language...NOPE....WHY is this?
How about just FRENCH or GERMAN? Still NO.....
I will let you think about this for a while
nhoel said:Sure, search and replace works really well, until you've forgotten to search
and replace one piece of your application. With N-Tier development, I
modify it in one place, compile, send it to my users and they plug it in. I
don't even have to bother other "production" components that are dependent
on my changes. Which one is easier to maintain now?
NO, NO, NO, NO......
Forgotten to replace one piece....HOW about the other way around? With OOP,
making the change in ONE place doesn't mean that EVERY PLACE is going to be
right.....Ohhhhhh....did I hear Design Pattern????????
What if it's a new business logic? Heck, we don't even need that! Where are
those Design Patterns NOW?
How do you know if the Object Model was correct in this INSTANCE????
With Search and Replace, at least I know and have a list of what's being
changed.....With OOP, you HOPE, READ H.O.P.E. that your Object Model was
done right and took into considering this NEW change that is being
added.....
A NEW CHANGE, that YOU DIDN'T anticpate from the very beginning.
A new change that was never designed into the Object Model.
Uh, Ohhhh....Did I hear on the News again another Windows Update ..Critical
Update from Microsoft.....
Oh, but since we trust OOP so much, this NEW Update, IS SUPPOSED TO NOT
affect anything IT shouldn't AFFECT...... BUT of course WE DON'T KNOW....
WE are SO PROUD of OUR OOP MODEL...IT SHOULD ALWAYS WORK....
HOWEVER, if it DOESN"T WORK, we can use the standard excuse, "BUGS ARE A
FACT OF LIFE, JUST LIKE ANYTHING ELSE"
HOW CONVENIENT????????
TO the other Poster, If I had a penny every time a Programmer said, "Bugs
are a Fact of Life...."
At least I'm smart enough to realize that not everything in life is perfect.
To assume that it is is plain stupid. And because of this assumption, I
find a constant role in correcting the imperfection and making people's life
better.
Oh really, "everything in life is NOT PERFECT"....BUT OOP is PERFECT?????
IS OOP is PERFECT, why do we have software patches every WEEK?
What you don't realize is that all the apps you've said also expose COM
components that applications can take advantage of. These components are
also easily used for N-Tier development.
all
Like I said, in N-Tier design, I modify the method I need to change and no
more search and replace for me. Which one is a lot faster... What if you
have to modify a whole code block? Damn, you're lucky if you're using
Regular Expressions so you can include CRLF characters on your text. What
you gonna do? Replace each occurrence of a certain command in your code,
line per line. Hmmm, business rule contains 10 lines of code (at least),
across 10 pages. Wow a 100 times you'll have to do cut and paste. Regular
Expression cut and paste style... figuring out the regular expression in
the find string and applying the correct one to the replace string... good
It's simple to use, yeah... But, the reason why it's not mentioned by most
OOP programmers is because it's just plain "STUPID." Knowing if we design
it well, we only need to change it in one place.
Architecture
Let me "Cut and Paste" what you indicated in your reply...
Don't deny what you wrote... and if you are, you're just contradicting what
you say. And if you contradict yourself, then your word as a "contributing"
member in a group of developers is not to be taken seriously. Your words
"as such for use in PDA's" suggest that you're thinking of putting the
business tier in it (just plain stupid as an idea though).
And to answer your question of different presentation layers are different
functions... NOT!!! Given an example of a simple (note the word simple)
Time And Attendance application. There is only one goal of the enterprise
app. That is, to log in the time the employee got in and out. Yet,
software companies have written a Web GUI, Voice Recognition Telephone
systems and swipe cards. Although these interfaces are different, all their
underlying rules are the same. For example, the employee cannot come in to
work before 7:00 AM. Despite the interfaces are different, they all follow
the same rule. Now, assuming you go with your 2-Tier design... the company
decides to change the rule to 8:00 AM... Wow, modification on 3 UI's.
And just how long will it take to modify 3 UI's? (seconds/ minutes /hours
please?)
Careful how you answer this?
This is exactly what I am looking for......
Hmmm.......
So,
where's the difference in the user's needs in this scenario? Take the
example of a retail application, since your major use for the internet is to
buy things. A company may open a website to sell their items, a 1-800
service over the phone and a retail store. In case you want a solid
example, take pizza hut as one. It has all three means of getting to the
customer... (Pizza hut is working on a central site, where people in one
location can take the order and forward it to their regional stores.) All
the rules are the same, you make your order, get charged and tax is added
into it plus other fees. Yeah, the rates may be different but if you design
it differently, you'd just grab it from the database and feed that
information to the interface. Even though each GUI may have additional
features, the basic rules of doing business still applies.
Man, this feels weird, it's like teaching a high school student to break bad
habits!!!
WRONG, COPY AND PASTE AND MODIFY and let each method of order entry stand
alone by itself.
Let's take a look at the time to copy paste and modify and single
method....will I be able to use a hot key...why NO....OK.
Control-C, Control-V 3 TIMES........Opppppsssss repetive stress
syndrome.......
How many seconds is that????????? Let's compare that time with the OOP
method?????
At least I'm smart enough to realize that not everything in life is perfect.
To assume that it is is plain stupid. And because of this assumption, I
find a constant role in correcting the imperfection and making people's life
However, bugs are not the only reason to issue updates and patches. You can
improve performance as technology becomes better. For a simple minded
person's sake... Consider that he created software that used, bubble sort
algorithm inside a method. Later on, he found out that a quick sort
algorithm will make his application work better... making the change on the
DLL across all applications that used his component is easier than changing
all the applications with that logic. EVEN WITH CUT AND PASTE!!!
WRONG. It's all encapsulated in a STANDARD METHOD......EASY to SEARCH and
REPLACE
You ALSO KNOW WHICH PAGES need to be replaced in the first place....Why is
this possible? K.I.S.S. Because the pages are named properly and can easily
figure out which pages should have been replace just by similarly named
pages...
EASY AS PIE......
What's the use of the riddle? And it's seems to be missing another "O."
Can you say honestly, that you've never changed your application once it
went to production. Or do you call it an entirely different product every
new release...
Yes, I have accepted bugs as a natural fact of life... and so is famine and
war and every little evil in this world. Not to accept it is to live a
false life. But should that stop me from putting out my patches or getting
them, the answer is definitely NO. In a digital world, no matter how secure
your application is, it's just plain nonsense to think that you are safe
from every hacker in this world. Nor should you assume that your
application works perfectly. One should design their system for growth,
adaptation and presentation. Perfection, is a false goal. As a seasoned
developer, I know that not everyone can be satisfied by your work. And
that's why, patches are released one right after the other. Why is it, that
Norton AntiVirus and McAffee, producing updates to their systems? They are
afterall, somewhat reliable. That's because it's a never ending battle.
Besides, life does not stop because your application has been rid of bugs.
You can constantly improve on it, give it more features and make it more
user friendly. Like I said, fixing bugs is not the only reason why you
issue a patch. Now, isn't that innovation? But I guess, I have to thank
you for calling me as such. (NOT!!!)
Here's the real plus of N-Tier design that I keep on forgetting to include
in my past messages. N-Tier development allows me to concentrate more on
building the application rather than spending time on the "infrastructure"
of my product. If you don't understand that, you can read up on Microsoft
DNA or J2EE development. They'll explain to you what I meant.
As for the moment, J2EE has the better infrastructure than Microsoft. Only,
Microsoft has the better IDE than most J2EE compliant tool I've used before.
That includes JBuilder... really need to improve it a whole lot more to
come par with Visual Studio. And if you think Microsoft has a patch every 2
months or so, JBuilder has a new version every 3 to 6 months. My point is,
no matter what technology you use, you'll constantly encounter bugs in the
system. Even the "glorified" mainframe applications have bugs. Remember,
Y2K? Now, that's a perfect example of how hairy it was to modify 2-Tier
applications. (As most COBOL programs have that very nature.) If it were
an N-Tier architecture... as I did with my clients... all I needed was a
patch from microsoft and modified one module. Beat that with your cut and
paste!!! (And yes, the companies continued to operate even after Y2K.)
WRONG. YOU CAN"T SAY that 2-TIER was to blame for making that
difficult.....YOU don't even know if it was 2-Tier to begin with....these
were a lot of mainframes and databases logic...done long time ago and done
for performance reasons......DON"T even bring that as an example......
OUT OF CONTEXT AND REACHING......
I come to wonder, how do you build "internationalized" versions of your
applications. It must be a gruesome task to change its feature from english
to spanish to french. Oh, I can just imagine the currencies and the dates
(in case you didn't know, some countries use comma's instead of dots in
numbers, and dots instead of slashes)... Thinking of how to do it in a two
tier application gives me the horror of doing everything ALL OVER AGAIN on
the same logical code. That is one piece where your "CUT" and "PASTE"
wouldn't work too well... Still convinced that your favorite "CUT" and
"PASTE" will do the job? Don't ask me how, but for seasoned developers
(it's a trade secret for N-Tier developers and OOP programmers)... this is
an easy task with OOP and N-Tier development. Having a different method for
each language is not even necessary if you design it right. Just remember,
after it is all said and done, currency representation and dates, no matter
what the culture is, are all represented the same way in .NET at the end.
YOU DON'T KNOW ANYTHING ABOUT INTERNATIONAL APPS for the WEB.
Take a look at Microsoft Web site....is every web page in english have a
corresponding foreign language...NOPE....WHY is this?
How about just FRENCH or GERMAN? Still NO.....
I will let you think about this for a while