What are the factors in deciding framework to choose ,technology for a web application .any architect please provide a guidance.
- requirements of the project
- restrictions of the environment
- time frame of the project
- previous foundational code
- current abilities of team
- Skill of the team
- Familiarity with the similar frameworks
- Power of the framework
- Ease of development
- Scope of the project. I mean what you need, or will need, what it offers, or not.
- Community support, Books
Target devices - If your application needs to run on mobile devices, then your application needs to be lightweight on the client side (not too much complex javascript, light DOM structures...)
Visibility - Should your application's content be indexed by search engines? If yes, then you have to remember that for example AJAX and Flash based solutions won't be indexed (workarounds exist).
Usability - If your application needs a high usability, then you should consider creating desktop like applications - in other words, a Rich Internet Application (RIA)
Security - No matter what you answer on the previous points, you have to remember security. Using client centric solutions (business logic written in client code (eg. javascript)) are a major security risk. Remember that I only talk about the security of the architecture. No framework will give you security for free, ultimately, the level of security is always up to the developers.