(858) 586 7777 | About | Testimonials | Contact
vteams vteams vteams vteams
  • How does it work?
    • Startup Process
    • Your First Day
  • Technologies
    • Hire PHP Developer
    • Hire App Developer
    • Hire JavaScript Developer
    • Hire ROR Developer
    • Hire IOS Developer
    • Hire .NET Developer
    • Hire AI Developer
    • Hire Robotics Engineer
  • Sample Budgets
  • Meet The Team
  • Experiments
  • Captain’s Log
  • Blog
vteams vteams
  • How does it work?
    • Startup Process
    • Your First Day
  • Technologies
    • Hire PHP Developer
    • Hire App Developer
    • Hire JavaScript Developer
    • Hire ROR Developer
    • Hire IOS Developer
    • Hire .NET Developer
    • Hire AI Developer
    • Hire Robotics Engineer
  • Sample Budgets
  • Meet The Team
  • Experiments
  • Captain’s Log
  • Blog
Blog
  1. vteams
  2. Blog
  3. Using Modular Approach to Maintain and Scale a Legacy App
Jul 28
using-modular-approach-to-maintain-and-scale-a-legacy-app

Using Modular Approach to Maintain and Scale a Legacy App

  • July 28, 2017

vteam #638 was hired to develop a web application using the legacy styled custom core PHP code. For review, a basic set of old codes was provided by the client. Firstly, vteams engineer Muhammad Saleem had to understand the legacy code and develop the application features within the given deadline. In order to achieve a maintainable, reusable and scalable code base, Saleem had to apply some optimizations according to the coding standards.

After analyzing the legacy code and application requirements, the whole code was organized using a modular/component approach. The code was transformed into modules and inheritance was implemented with a basic set of classes for reusability. Additionally, the Composer (dependency manager) was integrated in the application to utilize built-in PHP, jQuery and JavaScript libraries which saved much of the development time.

To further organize the code, the following were defined:

  • Re-usable views
  • Functions
  • Classes
    .

To use common functions in the application, basic query builder class  and some helper classes were created. For real time messages, HTML 5 server notification was used.

Saleem modified and improved all the existing features of the application to save time. After that, he created multiple user level directories for each type of user i.e patients, physicians, pharmaceutical companies and admins (including super admins). As most of the views were having similarity, so he created common views & models in the modified modules and also included them in each directory file. Hence it saved the time of development and maintenance was made easy.

Conclusion

Using modular approach, a good level of optimization was achieved while maintaining the old style core PHP code. The application was developed as per the client’s requirements within the given deadline. As an outcome, a stable code base was achieved and made it maintainable, reusable and scalable for future use.

  • Facebook
  • Twitter
  • Tumblr
  • Pinterest
  • Google+
  • LinkedIn
  • E-Mail

Comments are closed.

SEARCH BLOG

Categories

  • Blog (490)
  • Captain's Log (1)
  • Closure Reports (45)
  • Experiments (7)
  • How-To (56)
  • Implementation Notes (148)
  • Learn More (156)
  • LMS (8)
  • Look Inside (10)
  • Operations Log (12)
  • Programmer Notes (20)
  • R&D (14)
  • Rescue Log (4)
  • Testimonials (25)
  • Uncategorized (4)

RECENT STORIES

  • GitHub Actions- Automate your software workflows with excellence
  • Yii Framework – Accomplish Repetitive & Iterative Projects with Ease
  • A Recipe for CRM Software Development
  • Are Agile and DevOps the same?
  • The Data Scientist’s Toolset

ARCHIVES

In Short

With the vteams model, you bypass the middleman and hire your own offshore engineers - they work exclusively for you. You pay a reasonable monthly wage and get the job done without hassles, re-negotiations, feature counts or budget overruns.

Goals for 2020

  • Open development center in Australia
  • Complete and Launch the Robot
  • Structural changes to better address Clients' needs

Contact Us

Address: NEXTWERK INC.
6790 Embarcadero Ln, Ste 100,
Carlsbad, CA 92011, USA

Tel: (858) 586 7777
Email: fahad@nextwerk.com
Web: www.vteams.com

© 2020 vteams. All Rights Reserved.

Content Protection by DMCA.com