What could be done to make a PHP site be better renderized in a smartphone?

Hi Experts

What could be done to make a PHP site be better renderized in a smartphone?

Thanks in advance.
Eduardo FuerteDeveloper and AnalystAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peos JohnPHPCommented:
For php mobile site you may need to create a theme that fits mobile browser.  

Once you have  the UI for the mobile  you need to register a domain name for your mobile site.. for example mobile.yoursitename.com,  

Host your mobile theme php site in this domain.

Then you should just write a script which detects the browser(whether it is mobile browser) and redirect it to the mobile domain if it is mobile browser.
Eduardo FuerteDeveloper and AnalystAuthor Commented:
Ok. Good.

But when developing this PHP mobile version maybe something else must be done to make it renderize better on a smartphone, isn't it?
NerdsOfTechTechnology ScientistCommented:
You can also apply a CSS file that makes your site "responsive" AKA renders or morphs to phone viewports.

CSS frameworks such as Zend Foundation and Twitter Bootstrap are very popular and can easily be integrated into a design to produce the mobile rendering results you desire.

For UI/UX (user interface / user interaction) many developers use jQuery (javascript library for effects/ajax/etc) in conjunction with a front-end framework as well (buttons, forms, etc.)
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Eduardo FuerteDeveloper and AnalystAuthor Commented:
So it's a matter of total reconstrution of the visual parts of the site by using these tecnologies (in conjunction with codeigniter in our case)
NerdsOfTechTechnology ScientistCommented:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Eduardo FuerteDeveloper and AnalystAuthor Commented:
Thanks for the assistance!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.