Mikola,
Dumb terminal tend to have
some effect on programs written for them. RIA tries to change that by offering
richer event-driven paradigm that allow you to show data in more ways and
interact with it in more ways. As such, the responses from the server become
smaller, more granulated/targeted toward UI, requests need to become faster.
etc..
You indeed can reduce 90% of
the SERVER work with more of the usage of standard components or generated code
provided that STATE is transparently supported by front-end components.
You can use Struts - but
without much benefit in terms of code size. Tapestry is great, but needs layer
of support to work with controls so it is rapid application developments rather
then optimizing 90% of 20%.
Refactoring of Flex
applications is no fun - there are to many areas that can break and go unchecked
- your best line of defense (as 10 years ago) is still to amount the least
amount of code and use more reliable components. That is were Frameworks come in
the play - by advertising that the code in them has been used and tested and
does 80% of what you need to do.
I personally do not like
frameworks. They usually evolve out of applications. That imposes 2
problems:
1. The problem is that it have to
"fit". Let us say you are building motorbikes, cars and trucks. You can
share concepts, but not the complex parts - they would either brake or would not
fit. At best, you would have smaller thing that are interchangeable - nuts
and bolts and signals. Can I reuse the shopping cart? Not likely, not without
refactoring that would be bigger effort then writing from scratch. Serving 20
requests /sec and 2,000 require me to build differently - no abstraction
survives the load, sorry. There is one thing that is indeed shared by companies
making bikes, cars, trucks, planes, etc - tools to make concept into a product
and base components.
2. Second problem is that frameworks formalize
the process of building software by providing the "coding style" to adhere to.
Some people call it patterns, some experience, but in the end it is just the
base language constructs you are thinking with. It offers communication
platform for larger group of people by abstraction. Internet revolution was
a cultural shock that introduced most of patterns as the only way to
express yourself as the sizes of development teams went out of control. Lack of
tools caused use of manpower instead of tools, canned designs and manufacturing
instead of custom design and engineering. It works, do not get me wrong, but it
reaps most of the developers from the main benefit of intellectual work -
creativity and individualism.
I think that part of Flex community might want an
alternative to frameworks and that alternative is Tooling and
Components. Here is simple test:
1.Try not to use some framework or library or
component for a week. Change remoteObject to WebService or XML/HTTP Request. At
the end of the week look at code that has been done and you would see that
you created better performing, more powerful way to do things that fits better
your style and applications.
2. Now try not to use your favorite IDE (Eclipse
or such) or code generator (Struts or Tapestry ) and observe amount of code or
extra steps you are making. In a week you are worse then before as your
productivity is down and no solution is coming.
For the last 15 years company I am working
at would spend at least 50% of my time manufacturing tools and components
and the rest doing applications to make money while putting these
tools/components to the test. Works both ways - you are getting reusable parts
of applications as you manufacture them - and cleanly separate tools
from components from application code.
I think time came to put an effort in the
creation of Flash/Flex components with high reusability - that would take away
most of the framework appeal without giving false promises.
Thank you,
Anatole Tartakovsky
----- Original Message -----
|
- Re: [flexcoders] Re: Cairngorm is bad? Anatole Tartakovsky
- Re: [flexcoders] Re: Cairngorm is bad? Omar Ramos
- Re: [flexcoders] Re: Cairngorm is bad? Mykola Paliyenko
- Re: [flexcoders] Re: Cairngorm is bad? Anatole Tartakovsky
- Re: [flexcoders] Re: Cairngorm is bad... Mykola Paliyenko
- Re: [flexcoders] Re: Cairngorm i... Anatole Tartakovsky