Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I started programming in january of this year and have covered a lot of ground. I have learnt javascript, ruby on rails, html, css, jquery and every now and then i like to try out some clojure but i will really get into that in the middle of next yr. I really didnt like rails and prefer using netbeans with pure javaScript, html and css, i just feel like i have more control. I really like javascript, but when it comes to sever side programming i have a problem.......for my level of experience i just feel like server side js will not be a good fit yet as it is still not as mature/user friendly as php or ruby on rails.
What server side language should i invest in, should i learn php? There is so much info on source code on php. I know that there is node.js and emerging frameworks like geddy.js but i need something more user friendly....or am i just being a woos.I would really like some help on this.
Thanks in advance
PS. Update: Thanks all for advice, i have settled on python and web2py framework. I decided between django and web2py by doing a couple of simple tutorials and preferred web2py by a huge margin.
If you like ruby as programming language, but find rails to be just too much to take in it once, I'd recommend trying Sinatra. It's also a ruby-based web framework, but it's a lot simpler than rails, and offers you a lot more control over how you want to set things up. For smaller projects, it's often a much better fit than Rails.
Not sure why you don't like rails, but you might want to try the newly released "Rails for Zombies" tutorials by Envy Labs: http://railsforzombies.org/. Or if you like books instead of online stuff, check out Agile Web Development with Rails
As ben states, sinatra is nice for smallish stuff.
A few things to choose from, broken down by language and order of their complexity/learning curve:
Ruby
Sinatra
Rails
Python
web.py
Django
PHP
Code Igniter
CakePHP
Symfony
EDIT: I removed my comment about php and added in some PHP specifics. Personally I started with Symfony but it is rather complex. Code Igniter would be a good starting place if you want to learn a PHP framework.
Python language and Django web framework are another good alternative. Both elegant and easy to get started with.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I am a front-end developer and I have a project where I need to build 3-5 pages website. The main work is in javascript communicating with REST API but I do want to have partials, routing if possible and templating.
Right now, I am literally frustrated with amount of available frameworks but I really would prefer not to setup PHP backend as it is not required (Wordpress either).
I feel very comfortable with the following technologies and frameworks being able to build entire front-end:
Gulp
Bootstrap
JavaScript
HTML/CSS/SASS
So I started to look into Angular but it feels like an overkill and with possible SEO issues even if it is 3 pages website for now.
Then, I started to look into static generators such as Jekyll but I would never develop in Ruby or Go.
Then I started to look into JavaScript templating + Gulp such as Mustache or Nunjucks and that sounds interesting although no routing would be possible.
Now I started to think if I shell create a simple PHP routing + template class in the website folder without MVC and the rest just do through Gulp as I am used to.
From what I've seen, people recommend going with PHP framework such as Symfony or Slim but I am not a back-end developer and afraid this can take much time from developing front part.
I would appreciate any opinion about this and I apologise if for someone that does not make sense but I do feel frustrated and decided to ask the community and experts that being in similar situations.
Thank you!
This is not really a Stack Overflow question, as you ask for an opinion, but I am willing to answer you anyway.
Setting up a Jekyll website does not require you to write any Ruby. Jekyll is simple, but does have partials, templating and routing. Therefore it seems like a good choice. I would use vanilla JavaScript or jQuery for the API interaction.
I use Jekyll for all websites that are smaller than 100 pages.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I've been using PHP for some time now, and though I certainly don't claim I am a PHP guru, I feel I know my way around the language enough to get most things done elegantly enough.
Up 'til now, I haven't really wanted to do much desktop programming. I've hacked together tiny things with AutoHotKey and (I'm sure) rather poorly written C#, but I have never gotten into these languages in the same way that I have with PHP.
Now, I'm looking to change that, so I am asking you guys what you think would be the best language for me to try for programming on the desktop. Preferably, I would like something that is
Typed similarly to PHP (Wikipedia lists it as "dynamically/weakly" typed
Interpreted
Can be compiled (or at least packed) to an executable, and easily
Thanks in advance for any help!
EDIT:
Thank you all for the helpful answers - I wish I could have accepted all of them. I decided to try learn into Python, keeping in mind the differences between web and desktop development. Thank you all for your generous help!
My recommendation would be to try python. It is dynamically/strongly typed, and has syntax and features relatively similar to php. It can't be compiled to an executable, but it can be compiled to byte-code, like java is.
I have been programming in php for several years and recently picked up python and have really enjoyed it. I have also used c++ and java quite a bit and find them to be more difficult to master, and more frustrating to use.
There's not much value is learning a "PHP for the desktop language". I'd recommend that you explore language with different principles (say Python or Ruby) and use Desktop apps as your learning vehicle. PHP is written to be embedded inside a web page and that carries over even when you use it as a regular scripting language.
You can learn the ropes a little before picking up a new language by using something like PHP GTK.
PHP's design principles are fine on server side, but in many places they don't really fit in the world of Desktop development. For example, native Windows applications follow entirely different paradigms. Being able to work with these in a PHP-like language requires an additional (performance-intensive) layer between your language and the Windows API.
Bottom line: Much of Desktop app programming is so fundamentally different from how a PHP web app works, you won't get far with PHP's paradigms anyway.
I would therefore recommend to drop the requirements, and look/ask for the optimal language for the task instead. I don't know your situation of course, but if you have the time, chance and inclination at all, it's a great way to expand the programming horizon; also from a professional and CV perspective, it doesn't hurt to have another language under your belt.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 months ago.
Improve this question
I wrote a web service API which services REST requests in php. It didn't take much time to actually setup this on apache. But, I am more comfortable writing python code rather than php code. Can python be used as a server-side scripting language like php? What changes are necessary to make it work with apache?
Thanks
Bala Mudiam
For a REST full API I would suggest that you take a look at Tornado. It's what Facebook uses. It's fast, efficient and easy to work with (written i Python). You may use nginx as a proxy in front of it to server static content and allow more Tornado services for scaling.
Python is a very capable server-side language. Large sites (such as AG Interactive) use Python for server-side programming and have had great results. mod_python and mod_wsgi are 2 popular modules for Apache that allow you to serve Python.
Yes Python can be used as server-side language (as well as Perl, Ruby or even C/C++). Just use mod_python for Apache http://www.modpython.org/
I'll dare to say that mod_wsgi is probably closer to the de-facto choice (vs. mod_python) if you're stuck with Apache as your web server these days. One benefit is that you'll find a wide range of active frameworks and libraries that are WSGI compatible. Please don't read too deeply into "framework" - some things I'd lump in there are quite minimal, providing a few nice conveniences on top of raw WSGI to help you organize your code. Imagining that you're not looking to invest into a web framework itself just to get a REST interface up, you might check out restish as an option.
In my opinion python which is a popular language is better.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I dont have experience in web programming. I so far I coded in c++ only. If I wanted to build a site similar in functionality to cafepress.com which route would be most suitable for me?
asp.net mvc or php mvc or just php?
Granted I am new at this, still the amount of options is overwhelming to a newbie. And there is no decent guideline as to pick which is more suitable for what kind of projects?
Since I am new at this, I have to learn one of these things. But I don't want to waste my time only to see these things go out of fashion. So, I am looking for these qualities :
must not go out of fashion in a few years. By this I mean, something that is hyped just because its new and has not found a universal acceptance yet
simple, easy to learn and don't over complicate
do not abstract how web works (asp.net webforms....ahem)
can be done by a small group 2-3 guys
I would suggest you to go for Cakephp or codeigniter which are damn good for making large and maintainable sites. PHP is open-source, cross-platform, has good community support to php and above mentioned frameworks, something not there in asp.net. Also in asp.net security holes are found regularly.
I like ASP.Net MVC so i would recommend that because C# is awesome and Visual Studio is the best IDE. But you should look at the languages and tools and figure out what suites you.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am a C/C++ programmer professionally, but I've created a couple of personal web sites using PHP and MySQL.
They're pretty basic, and I'd like to jazz them up using Ajax, but I've never done any Ajax. I've done all the development so far manually, i.e. no IDE or anything like that.
Does anyone have suggestions on Ajax development environments that can help me?
Shareware or freeware would be preferable as I'd find it hard to justify spending more than a minimal amount of money on this...
As T.O. says, try Aptana. There's a very good free version, and they really push the AJAX. They even have Jaxer, an "AJAX Server" that they're working on. If nothing else, the plugins are great, and, other than a few quirks, I really like working in it.
If you want an IDE, try Aptana Studio. It supports HTML, CSS, JavaScript, PHP, XML, Ruby, Ruby on Rails, and more....
Aptana is supposedly a decent IDE for Javascript development. I myself just use Eclipse and a decent javascript framework like jQuery that has an easy syntax.
Rolling your own AJAX has become somewhat outdated in the presence of Javascript libraries like Prototype and JQuery. I would recommend looking into one of those libraries (Jeff used JQuery for SO and he's been really impressed with it from what I understand).
As far as a development environment goes, I don't know that there's much. A typical text editor with syntax highlighting would do the trick for writing (like Notepad++). For debugging, take a look at the Firebug extension for Firefox (though if you use JQuery, a debugging tool may not be as useful).
First off, make sure you understand the basics of the HTTP protocol. Then learn how the javascript httpXmlRequest function works. Once you've covered those, pick an Ajax library - prototype is good.
Then look at a few examples, and follow the API.
Job done.
I seriously have no idea how they manage to write entire books on this subject.
Edit: Why vote me down? Learning the basics first, leads to a much better understanding of the way it works. And yes, I believe Jeff should learn C too ;-P
Sajax is another good toolkit with PHP support.
Mostly though I prefer to use a Javascript framework like Jquery or Prototype