On Sat, Jul 12, 2008 at 4:44 PM, Neb o'Gwbl <[EMAIL PROTECTED]>
wrote:

> Hello all,
>
> I've just started work at a company that is in the middle of moving to an
> agile development process who use coldfusion, javascript and pl/sql.
>
> I have a couple of questions where you hopefully will be able to point me
> in the right direction ...
>
> Given that most agile texts are geared towards object oriented development
> and that there are unit testing frameworks for coldfusion and pl/sql, how do
> developers approach agile techniques in an environment with mostly
> procedural code?


For new projects, adopt a Test-Driven Development approach. For old apps,
you'd have to add Unit Tests and most likely refactor the application, which
may not be worth it depending on how much maintenance is actually done on it
and how the changes are handled. An app that is procedural with no tests in
place is going to be virtually impossible to work with in an "agile" way
because you have no way to know if the rapid, incremental changes you're
making are breaking something.


>
> Where are there examples of realistic unit tests and refactoring in
> coldfusion (or pl/sql)? Does anyone really do this? 'Toad' doesn't have an
> 'extract method' function ...
>

Yes, lot's of people really do this. In fact, anyone who doesn't is really
just making life a lot harder on themselves in the long run, regardless of
whether they follow an agile methodology or not.

For CF: MXUnit
For PL/SQL: UTPLSQL


>
> How do you, at a code level, seperate ui from domain logic in an
> environment like this?
>

Follow the Model-View-Controller pattern.


>
> How does domain driven design fit in here?
>

DDD would fall under the Model in MVC. It is an approach to building that
layer of the application.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:308980
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to