Timeline for Web design pattern
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 3, 2014 at 20:00 | comment | added | MBonig | Personally I'd lean towards responsive design instead of two different sites. Less code to maintain and easier to manage. Yes, there is a learning curve but thanks to frameworks like Bootstrap and Foundation those curves are less steep then before. | |
Mar 3, 2014 at 18:51 | comment | added | user1745470 | I see, I didn't know that. I am hosting temporally in some hosting site, and it limits the sub-domains to be in separated directories. Thank you! | |
Mar 3, 2014 at 18:47 | vote | accept | user1745470 | ||
Mar 3, 2014 at 18:40 | comment | added | Matthew |
Domain name is a web-server level construct, You could have both domain names pointing to the same application, and then within your application code, do Request.Url.Hostname (or whatever it is in php to get the hostname) to differentiate between the two.
|
|
Mar 3, 2014 at 18:09 | comment | added | user1745470 | Can you please add an answer to my second question? If website use other domain name for mobile, how they using the same controller? | |
Mar 3, 2014 at 18:02 | history | answered | Matthew | CC BY-SA 3.0 |