How to use redirect users to different sub-website based on user information based on symfony3 - symfony-cmf

In my system, it will be multiple front-end portal for consumer.
All the different portals contains same logic but different css style only.
For example:
Portal Default : www.myweb.com
Portal A : a.myweb.com
And a user belongs to portal A could access the system from both default portal and A portal.
If the user login the default portal, just redirect him to Portal A.
I just wonder if there is an easy way to implement this with Symfony 3.
Meanwhile I am thinking about the CMS for these portals.
It seems that CMF only support symfony 2.
I am not sure if it could fit symfony 3.
As all the portals use the same content, the CMS only maintain default portal contents.
Thank you for your time and please kindly share your suggestions.

I recently integrated Symfony CMF 2.0.0 with Symfony 3.3 project. It works, although most of its bundles are deprecated or poorly maintained.
Also I encountered an issue that having multiple tree roots (for each subdomain for example) in Symfony CMF is not implemented
Besides Symfony CMF there are some other Symfony and PHP based content management solutions:
Sylius (ecommerce solution)
Drupal 8
eZPublish 5
Bolt CMS
October CMS
PageKit
Sulu CMS

Related

Is Umbraco CMS is free or paid?

Umbraco CMS is free or paid? Please give me information i want to start work on project for my organization using Umbraco CMS
Umbraco is open source CMS so you can install it and host it yourself for free.
They have a cloud if you want to host the site on their servers and that is not free - more about it here
Umbraco is free open source however there are some packages/addons such as Umbraco Forms/Contour which you need to pay for, when using it in production. Forms allows you to manage HTTP form submissions within the CMS and configure what to do next such as send an email on submission etc.
Like Davor mentioned they have a cloud service which will handle upgrades and it include forms too. https://umbraco.com/pricing/
What's also a good thing to checkout is the https://our.umbraco.org/ site which has useful information on packages created by the community and tutorials.

ASP.NET MVC - Creating SAAS framework

I currently have a ASP.NET MVC 2 web application and would like to enhance the architecture to support a SAAS model. I plan on eventually building a number of web applications so would like to design the system accordingly.
The goal would be that when a client would hit the following url clientxyz.domain.com they would see an image of all their subscribed applications. This would essentially be a web page with a bunch of application icons. Once a client would click on a icon it would navigate to that actual web app at the following example url clientxyz.domain.com/application_name.
We currently use GoDaddy to host our domain and plan on using a Cloud based iLand server to host our application. We only plan on a few new clients a year due to the nature of our software.
I have a number of questions:
Is it possible to programmatically create subdomains on the fly using a .Net api. I'm pretty sure GoDaddy does not let you do it. So is there another provider that would let me create subdomains via C#. This may be the wrong approach and may not even need to physically create client subdomains. Instead I may be able to accomplish this using url rewriting in IIS/MVC?? If I use rewriting, it would have to satisfy the url requirements mentioned above. Any suggestions/links/examples?
Should I create a separate IIS website for each tenant/client? Or should I use URL rewriting and simply have a single website / application pool? Looks like you can programmatically spin up IIS websites (example: http://www.eggheadcafe.com/tutorials/csharp/d4bba585-b517-4834-8476-ff05b085d86e/iis--create-app-pools-virtual-directories-and-web-sites-c-net.aspx)
Since we are using a Virtual Server on iLand do I simply have to point GoDaddy to the nameserver at iLand.
I would like to automate the entire new client process if possible. To accomplish this, I would have to created the database (probably going to have single db per tenant), populate the global client/tenant table, create admin user account and subscription details in newly created database and create subdomain depending on approach. Am I missing anything?
thanks in advance.

NOPCommerce AD integration

I'm setting up an intranet ecommerce site with NOPCommerce 2.5 and I want the user to be automatically logged on to the site. Everybody on the network is authorized to be customer. Is there an active directory integration for NOPCommerce or does anybody have tips & tricks on how to move forward?
I know that nopCommerce uses their own implementation of the ASP.net Membership Provider. So yes, it is possible to edit that, and have it automatically generate a nopCommerce user via the Network Credentials.
I'm not aware of anything that already exists for this functionality.

What db structure fits for site builder

I need to build web application that will do:
build web pages.
build template for page.
add module(by module I mean ContacUs form, Search, Billing System...). Each module can be constructed by submodules or diveded to submodules
build module(add form, textbox, button...) and that all entered data by user could be saved in db
Can you advise me a DB structure that will contain it all
I looked some cms db, but it's NOT this.
Please, don't ask why I mess with it. I just need to build it.
I suggest you DotnetNuke.
DotNetNuke is the leading Web Content Management Platform for Microsoft ASP.NET, powering over 600,000 production web sites worldwide. The flexible DotNetNuke platform functions as either a Web CMS or a web application development framework. Depending on your role within your organization, DotNetNuke provides powerful benefits to support your Web initiatives.
http://www.dotnetnuke.com/tabid/125/Default.aspx

Single Account for Multiple Application login in Rails

I'm building some applications using rails.
All apps using restful auth plugin for User base and declarative authorization plugin for authorization rules.
But I need to merge all site's User accounts to one User base for providing login for all sites.
I.e like 37signals working on. Here is their work ;
http://37signals.com/accounts
How can I archieve this, any suggestions are welcome.
Thanks
A.Karr
From studying how 37signals was doing stuff - I think they're using RubyCAS http://github.com/gunark/rubycas-server
It's perfect for single sign-on, single sign-off and other related stuff - when you have multiple independent applications. Also, because CAS is a generic protocol, it exists for non-ruby/rails applications too. SO you can integrate legacy systems or client applications in Java etc.
I started building a set of how-tos on the subject here:
http://rubyglasses.blogspot.com/2009/12/rails-single-sign-on-with-rubycas.html
Have you thought about using open id?
If all your apps run on the same domain you shouldn't have any problems accessing the authentication cookie in all the apps, but you'll need to store the authentication state somewhere where all the applications can access it.

Resources