Symfony 2 on shared hosting? - symfony

I'm developing my app in Symfony 2, and one of the things that i have kept in mind is that symfony 2 have a lot of requirements. I know that in my pc works. But i've never tryed to deploy my app in a shared hosting. Is not that i want all the functionalities of the framework, i only need that the app works, and also the caching works.
Do i need a special shared hosting or it can run in any hosting that have (of course) PHP and the Database Engine that i'm using?
If i do, which shared hosting may I use?
If i don't, do i need a special configuration?
Thanks in advanced.

These are the requirements for running symfony2
http://symfony.com/doc/2.0/reference/requirements.html
Have a look at it and compare with your hosting provider and see if they matches.
Most of them should match othwise give the support team a call and they will look at it.
usually most of the Hosting companies have symfony2 available as addon so i think they might have all requirements but ask you can confirm with them. like Godaddy

You also want to be cautious for shared hosting servers that use separate php versions for CLI vs Apache. If this is the case, even though you can run parts of your application via ssh, you may not be able to run most of your Symfony2 application via http.
I think you may be better off investing in a cheap VPS for Symfony2 development as it allows more flexibility and will ultimately save you more time. A lot of vps these days are almost as cheap as shared hosting anyway.

Well No doubt Symfony requires lot of pre requsites. specially when it comes to shared hosting. I practice my self managed cloud hosing services of Cloudways. This is so because they provide popular php framework as one click app installation, Moreover, i found installation process of symfony on cloud server over there blog. Just followed the simple steps and symfony 3 was installed on my server.

Related

Test/Development WordPress websites in Azure

I am looking to stand-up a development/test WordPress website in Azure alongside our production site and am looking for any best practices I can find.
The idea is to keep the environments the same having both sites on the Azure PaaS but having different URL's to be able to access them. And having the databases be separate (to ensure we don't mess up anything in production)
Example...
Production -- http://companywebsite.com
Development -- http://test.companywebsite.com
Has anyone attempted something like this before? It would be fairly simple if the development was being done locally but we need multiple (non-developer) users to be able to access the WordPress admin panel on the test site and be able to install plugins and such to test.
Thanks in advance!
have you tried deployment slot?
When you deploy your web app to App Service, you can deploy to a
separate deployment slot instead of the default production slot when
running in the Standard or Premium App Service plan mode.
https://azure.microsoft.com/en-us/documentation/articles/web-sites-staged-publishing/
Update:
Seems like you can also config wordpress to aware of staging environment.
http://www.wpbeginner.com/wp-tutorials/how-to-create-staging-environment-for-a-wordpress-site/

How to deploy web app (Spring MVC, JPA,Oracle) on cloud?

I would like to deploy web app on Cloud (Which is built on using Spring MVC Farmework,JPA & Oracle ).Could any one suggest me the best way to deploy it on cloud?.
Vijay
Given your comment that you're happy to move to a MySQL database, then I'd suggest Jelastic, which has the easiest deployment for your stack. It also has a free trial.
Alternatively, AppFog is also great, and free for up to 2GB of RAM.
You'll have to first pick your cloud provider.
Given the technology stack, you may be able to deploy to the Oracle Public Java cloud, or you could also configure machine images to deploy on Amazon EC2. The limiting factor will be technology (and licensing) restrictions. If you had, for example, decided to use MySQL as a database (or any other data store), you would have more options.

Scalability of a Meteor app

Say your app gets hit with enough users to grind to a halt, does it fire up another instance? How do you plan to get around this in the future?
Ian
Not sure if you mean apps built with 'meteor bundle' or apps deployed on the free hosting with 'meteor deploy'.
Apps deployed to the hosted servers with 'meteor deploy' do not yet have any guarantees or SLAs about scaling. However, the servers can handle a fair bit of load. meteor.com is hosted on meteor deploy, and it survived the Meteor launch.
A server bundle generated with 'meteor bundle' is basically a single process app. It is up to you wire it up to multiple instances, or however you want to implement auto-scaling.
I'm precisely not clear with your question. aren't asking about the meteor framework capability for scalability or meteor app hosting environment scalability. never mind, here it goes
As Meteor framework ecosystem grows, your question of scalability will be answered, currently you can invoke as many as small modules of code through Packages.
Meteor has something called meteor bundle for more which eventually let deploy your application any where around the globe, then you can have your own infrastructure set-up to run your app (something like a network load balancer hosted NodeJS servers and scalable multiple MongoDB instance)
In general, Meteor can scale using by bundling and use your own infrastructure, like mongo, application server. Like #n1mmy said, when the application is bundled, you can specify a certain mongo end point from which you can scale the data storage. In addition, when the bundle is running, it is actually running on nodejs, which means you can scale your web application like nodejs apps. I think in both way can ease your problem if your application has too many users.
Theoretically Meteor scales just fine, but if it really works for you in practise all depends on how you handle your data. This is an excellent post on scalability in Meteor:
https://www.discovermeteor.com/blog/scaling-meteor-the-challenges-of-realtime-apps/

How WP-o-Matic works and how to do the same using ASP.Net? Cron job equivalent in .NET?

WP-o-Matic is a wordpress plugin to auto post based on some configured feeds, it read feeds everything time interval i setup, its working on my blog, my blog is on shared windows web hosting, i want to know how it auto work like that, and because i am on a shared hosting, so sure i didn't setup any windows services on the server, so its just keep working just after activating, seams strange idea for me.
Here's a nice article on how to create a Task Scheduler (similar to Cron) in ASP.NET
i am afraid you will have to write a windows service to run the scheduled jobs in .Net environments. In general, shared hosting companies do not provide a provision to configure a windows service on the servers so you might have to look at other alternative for hosting.

Running asp.net app on localhost

This might be a 'duh' question after all.
Are there any caveats running an asp.net (3.5) application on a local host? Assuming I have all the required services installed, I am looking for pitfalls/ troubles in terms of
database access
reporting/ charting and other such features
performance
The main reason for this is that the app I am developing will be eventually hosted on a proper web server but till then I want to be able to use my app from a browser (for test, demos...).
[Note: till the time the app is hosted on a web server, only I will be using the app]
As long as you install all the same components (and the same versions of them to be 100% sure) on your computer as you have available on the server, there shouldn't be any difference at all in functionality. One thing to watch out for is that the app will certainly be less responsive when someone accesses it over the internet, compared to the client and server being the same machine.
You won't have any problems at all, this is how many people indeed test. When you are ready to move it online, just make sure the host supports everything you need.

Resources