Selecting a framework for implementing web applications

We have been lately working with several web applications and social media systems. Every system has a unique business model and value proposition to the customers and the visitors, and thus the functionality we have been implementing vary a lot between the applications. However, when digging one level deeper, similarities start to surface. There are a lot of typical features in web applications, such as registration, signing in and out, viewing your details, and so on.