What is configurability?
Configurability is the ability to change application behavior (functionaility) and the interface by changing application parameters, without the need to rewrite code. This can either be done in the front-end by users, or through back-end configuration. On the other hand, customization requires making change to the application code to modify existing or support additional requirements. Sophisticated application design (e.g. web hooks) can permit customization by externalizing the new functionality. But modifying existing functionality in a multi-tenant application is really not advised.
Top 3 / All-time favorite requirements
- Web forms / Custom fields: Customers may require the flexibility to add additional fields to a particular document/record (object). Moreover, there would be a need to validate the input to the field based on data-type, or a script. For example, tenant A may require tax-ID as an additional integer field on the customer information object, and also make it a mandatory input. This has grown to be complex enough to support attachment fields, link to master data, controlling access to specific roles/user, etc.
- UI customization: Customizing the user interface involves matching the look-and-feel with the customer’s branding: corporate color scheme and adding their logo. Allowing users to customize their own data views (record lists, reports) is just assumed to be there. Sometimes controlling data elements could also be a requirement. (E.g. End-users wont know certain information, so a section needs to be hidden for them. But the next user in the workflow Continue reading Top 3 configurability needs in B2B apps →
I’ve discussed web frameworks before and how they can help in rapid development. In this post, I’m presenting some general guidelines around selecting the best web development framework, based on your requirements, in the the preferred language: Java, Ruby, PHP, Python. The main criterion is evaluating the non-functional requirements it provides out-of-thebox, which can greatly aid rapid development.
What to look at in a framework?
You should know how the design considerations mentioned below are addressed by the frameworks you are evaluating. Depending on the business needs, some might be redundant, but tend to provide a holistic view of the framework’s capability.
- Scaffolding code: What is the ETD to get a web-form with basic CRUD running?
- Does it offer the flexibility to choose between convention & configuration?
- How is input data validation achieved?
- Is the View layer simplified with a template engine?
- Does it employ object-oriented design patterns? and demand OOP?
- Does it follow MVC (Model-View-Controller) pattern? How is routing (URL management) achieved?
- What ORM tools (object relation mapper) does it support?
- Does it have built-in support for multi-tenancy?
- Does it support I18n & L10n out-of-the-box? (Internationalization & Localization)
- How is Authentication & Authorization managed: inbuilt, using a module or plug-in?
- Does it allow rapid development/deployment in line with Agile principles?
- Are there cases of proven success for enterprise class applications?
- What is the performance benchmark vis-a-vis other frameworks?
- Is there in-built support/plugins for caching, unit & scenario testing?
- Is it easy to debug applications, and if possible with in-built support through an IDE?
- Associated costs & TCO: to build developer & infrastructure expertise, hosting, licensing, support?
- Does the licensing permit free use for all purposes and the right to modify code as necessary?
- Does it have a clear product roadmap, sufficient documentation & an active community?
Don’t get carried away by flashy white-papers, classy developer events or generalized case studies. Your application is going to be different (a reason why you’re building that product in the first place) and while it is good to use guidelines, you need to see what fits your requirement best. Take a weighted approach to evaluating a framework based on the evaluation criteria above and make sure you have enough reason to be convinced.
This post is part of the SaaS Application Development series, extracted from my final dissertation submission at BITS, Pilani that closely looked at rapid-development of SaaS-based applications.
Over the last decade, there has been a massive growth in the number of web-based applications. For every category – email, collaboration or knowledge management to name a few – there are a large number of applications available, and new ones on their way. This has created extreme competition in the market with each application claiming to be better than the other. Even if a new concept exists that is strong enough to drive the market, time-to-market is a crucial factor that will decide the success of the product.
To address this, a rapid application development strategy needs to be in place so that the product and incremental features can be delivered at the expected rate which is dictated by the market & customers. Besides this, development needs to also follow an agile model so as accommodate ever-changing business requirements. This is especially true in the case of product development, where a single product must fit multiple customers with varying business requirements, and the classic waterfall model can lead to complete failure.
Web Application Frameworks
A web application framework (‘framework’ hereon) is a software framework that is designed to support the development of dynamic websites, Web applications and Web services by providing core, non-functional features out-of-the-box. A framework streamlines application development by automating many of the patterns employed for a given purpose and thus resolve the overheads associated with common activities performed in web development.
A framework also adds structure to the code, prompting the developer to write better, more readable, and more maintainable code. It promotes code reuse through the use of libraries for database access (using ORM), template engines, session and user management, logging, internationalization, etc.
Framework selection (we’ll elaborate this in the next post) is thus crucial in delivering the required functional & non-functional requirements within stipulated timelines. Non-functional are the primary influencers Continue reading Rapid application development & web frameworks →
Multi-tenancy was a relatively new concept back in 2010 when I was writing the dissertation report for my MS. This extract from the report aims at providing a clear understanding.
Multi-tenancy is an architectural pattern in which a single instance of the software is run on the service provider’s infrastructure, and multiple customers, or tenants, access the same instance. It is an organizational approach for SaaS applications today. SaaS-based software providers are believed to have evolved from Application Service Providers (ASPs) from the previous decade, which differ from today’s multi-tenant applications which are provided via a software-on-demand model specifically designed for SaaS distribution. Although the interest in this concept is rapidly growing since its inception in 2005, research is relatively slow.
Key aspects of multi-tenancy
- The ability to share & optimize the use of hardware resources
- The ability to offer of a high degree of configurability
- The architecture to support the use of a single application and database instance to serve all tenants
- Cost benefits from economy of scale & improved utilization
- Ease of deploying a single instance
- Simpler management
- More frequent releases with bug-resolutions & new features
- All customers are upgraded at once
- Reduced operational costs
- Easier to scale-up with the advent of cloud computing
Benefits of multi-tenancy
This is not a blog post, but just sharing the report template used for the final semester dissertation/project at BITS, Pilani. I guess this is common to MS SS & MM courses offered by DLPD (WILPD). This is the result of the numerous email that keep floating during the semester, only adding to the confusion. So I created a Word template that one can use right away, for lazy bums like me who start late. Just define custom properties, and the report template will automatically fill itself up.
- Download the file from either of the 2 links:
– DocStoc (latest)
- On Windows, right-click, go to ‘Properties’, then the ‘Custom’ tab
- You will see all the fields used in the document like Report Title, Mentor Name, Student ID, etc.
- If not, in MS WORD 2007, go to ‘Prepare’ > ‘Properties’ from the OFFICE menu. Then ‘Document Properties’ > ‘Advanced Properties’ on the yellow band and ‘Custom’ tab on the pop-up.
- To modify a value,
– Click on the field name in the field list
– Change the ‘Value’ above
– Click ‘Modify’
– Repeat this procedure for all fields
- Do not delete any of the fields.
- Open the document now, select all the text (CTRL + A) and press F9.
I have taken care of the fonts, page numbers, table of contents, etc. You can copy-paste one of the existing chapters to create a new one. However, if something is missing as per the checklist, please bring it to everyone’s attention. We can discuss this via comments below.
Wishing you all good luck without your report & viva!
This intelligent template is dedicated to Sonal Purandare who motivated me to get started on the report and offered immense support in difficult times.