Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Anant Pradhan 
Senior Web Engineer, CUA 
@anant105
This presentation is about: 
 Refactoring code to MVC 
Not about… 
 ColdBox vs. FW/1 
Software architecture pattern 
 Model: Business logic/database interactions 
 View: Visual representation of the system ...
Advantages 
 Separation of concerns 
 Better Abstraction and Encapsulation 
 Better organized code ‐ Code reuse 
 Stan...
Disciplined technique for restructuring an existing body 
of code, altering its internal structure without changing 
its e...
Goals 
 Understandability 
 Reduced complexity 
 Ease of maintenance and evolution 
 Ease of debugging 
 More reliabl...
Light‐weight, single file, convention based framework 
index.cfm?action=section.item
Event‐driven, convention‐based framework 
 Model ‐> Model 
 View ‐ > View 
 Controller ‐> Handler 
 Layouts ‐> Templat...
 Framework One Wiki: https://github.com/framework‐one/fw1/wiki 
 ColdBoxWiki: http://wiki.coldbox.org/
All CFSummit slides available at: 
http://www.slideshare.net/ColdFusionConference 
Contact Info: 
◦ Email: anant@anant5.co...
Refactoring your legacy app to a MVC framework
Refactoring your legacy app to a MVC framework
Refactoring your legacy app to a MVC framework
Upcoming SlideShare
Loading in …5
×

Refactoring your legacy app to a MVC framework

1,104 views

Published on

Refactoring your legacy app to a MVC framework

Published in: Software
  • Be the first to comment

  • Be the first to like this

Refactoring your legacy app to a MVC framework

  1. 1. Anant Pradhan Senior Web Engineer, CUA @anant105
  2. 2. This presentation is about:  Refactoring code to MVC Not about…  ColdBox vs. FW/1 
  3. 3. Software architecture pattern  Model: Business logic/database interactions  View: Visual representation of the system  Controller: Connects the model to the view
  4. 4. Advantages  Separation of concerns  Better Abstraction and Encapsulation  Better organized code ‐ Code reuse  Standardization
  5. 5. Disciplined technique for restructuring an existing body of code, altering its internal structure without changing its external behavior
  6. 6. Goals  Understandability  Reduced complexity  Ease of maintenance and evolution  Ease of debugging  More reliable code
  7. 7. Light‐weight, single file, convention based framework index.cfm?action=section.item
  8. 8. Event‐driven, convention‐based framework  Model ‐> Model  View ‐ > View  Controller ‐> Handler  Layouts ‐> Templates index.cfm?event=section.item
  9. 9.  Framework One Wiki: https://github.com/framework‐one/fw1/wiki  ColdBoxWiki: http://wiki.coldbox.org/
  10. 10. All CFSummit slides available at: http://www.slideshare.net/ColdFusionConference Contact Info: ◦ Email: anant@anant5.com ◦ Blog: http://anant5.com ◦ Twitter: @anant105

×