/    Sign up×
Community /Pin to ProfileBookmark

New application in PHP

Hello,

Sorry if this is not the correct forum since I have multiple questions but PHP is my main one.

I want to write a small web application that needs to work through a mobile browser. I am knowledgeable in HTML, CSS, JAVA, PHP, SQL and some javascript.

I have a few questions:

  • 1.

    I have read that PHP is not the best option anymore. Should I use PHP or try something new ? what are the new trends ?

  • 2.

    I do not want to host my own webserver and database and once I am done with the application, I will want to run different instances of it for multiple people. I have been looking at [url]https://www.openshift.com/[/url] but it seems very powerful for what I want to do. What are some other options ?

  • 3.Could I write something completely in java but still work on a mobile browser ?

    to post a comment
    PHP

    5 Comments(s)

    Copy linkTweet thisAlerts:
    @NogDogMar 12.2015 — It's always good to learn something new, but you need to balance that against getting things done on time and within budget. So you need to set your priorities, analyze your specific needs, then figure out which tools will do what you need best. And they're just tools: there's nothing magic about a claw hammer versus a ball peen hammer -- it's how the carpenter uses them that really matters.

    As far as I can see, PHP is not going away, and with PHP 5.5+ and a framework like Laravel, it provides a rich programming environment. So does Ruby on Rails, or C#/.NET, or Java, or Python, or whatever. The only thing besides personal preference that might sway me would be how easy to you want this app to be for anyone to use anywhere -- which becomes a strong argument for PHP -- versus this is just for your needs and you can pick your deployment environment and configure it as you need, (and pay for licenses for M$ environments), in which case it's totally up to whatever works well for you.
    Copy linkTweet thisAlerts:
    @neilnmauthorMar 12.2015 — Can you provide me with some examples of some good/user friendly deployment environment ?
    Copy linkTweet thisAlerts:
    @NogDogMar 12.2015 — Can you provide me with some examples of some good/user friendly deployment environment ?[/QUOTE]

    Almost every hosting company provides options for some sort of LAMP stack: Linux, Apache, [B]PHP[/B], and MySQL; so if your application runs in that environment (e.g. like WordPress does), you'll have the widest support base for deployment almost anywhere (and it's all open-source, so the hosting costs stay low). If you use the PDO extension in PHP for your database access, that can make the "M" part negotiable, allowing support of other DBMS's with little change to your code other than a configuration setting or two (if done right).

    The moment you decide to build and deploy in something else (e.g. Linux with Ruby/Rails or M$ Server with C#/.NET) you start reducing the deployment options, so you need to weigh the benefits you see in using those technologies against the limitation of who can deploy it where. (Obviously, this is not that much of an issue if you are building it just for you to deploy, e.g. your own something.com that will be the greatest thing since google.com. ? )
    Copy linkTweet thisAlerts:
    @anand_rMar 19.2015 — You can develop an web application using Java or PHP which ever you are comfortable with. The hosting charges for java is higher comparing to PHP. You asked for something which is simple to work with. The frameworks, configurations, library files and its versions are much simpler in php comparing to java.

    The same application can be opened in a mobile browser. For compatibility you have choose the "Responsive web design".

    Anand R
    ×

    Success!

    Help @neilnm spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...