Most recommended framework to develop rich yet easy-deployable webapps [closed] - ruby-on-rails

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
im getting into webapp's programmin Im very confused about lots of frameworks available, each one based in different languages. Ive found lots of them (and just test drive some of them) I have experience with Java, PHP, Javascript, CSS, HTML, Python (but never tried django), C/C++ languages
By now, the best I got with is Ruby On Rails. I don't have much knowledge of the ruby language but it does look pretty similar to python, i mean, it looks like an easy language. So, learning Ruby to use it with rails justifies it?
Ive found frameworks such as:
Spring (Java)
Django (Python)
GWT (Java)
Rails (Ruby)
These looks the more advanced and mature frameworks out there, so, what are your experience about developing webapps with different frameworks? What are the advantages/disadvantages of each one? (Or any other you would like to mention.) and good resources or books you'll recommend.
Ive read that java based ones are far more complicated and tedious, and Rails seems to be a nice middleground between complexity and effectiveness. Also GWT (Google Web Toolkit) seems nice to develop the UI as It gives you sets of widgets to use.
Im looking for a framework with rich user interfaces, to develop desktop-like apps for the web...
Any comments, ideas, suggestion would be appreciated!
Excuse my bad english! :)

Im looking for a framework with rich user interfaces, to develop
desktop-like apps for the web...
If that's the case GWT would be a good choice.
The rest of the frameworks you mention (and the majority of those labeled as "web frameworks") focus more on the backend, and don't provide many tools for the kind of frontend development you want. You need to combine them with other frontend frameworks to achieve that.

If you want to go for standard "server-side" java, I could recommend JSF with primefaces. It's a bit hard to get it first, but the community is wide and books/documentation are highly available. Primefaces as a rich set of widgets (take a look at the showcase) and it is very active.
Whatevver framework you will choose, I greatly suggest you to learn and use JQuery for your javascript needs. Personnaly jquery is now a must in all my web applications.
You will always find plugins and widgets ready to use based on jquery.
You should take a look at jquery-ui. It is a set of javascript widgets and utilities based on jquery.
Wish you good learning, and hope this will help :)

Related

Frameworks with automatic admin interface and login [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I like to experiment with different languages to keep my interest alive when working on small side projects away from my day job.
I'm finding it increasingly difficult to steer away from Django and Ruby on Rails because of a couple of features they come packed with (or that are mostly default and easily integrated): authentication and automatic admin interface. Django comes with both, with Rails you just have to add ActiveAdmin as a gem and you're ready to go.
When I try to experiment with different frameworks and languages (Noir for Clojure, Express for Node), most of the times I find interesting languages I'd love to work with but whose "web framework" idea is just some convenience method for routing and parsing URLs and requests, leaving you alone with all the common and annoying parts of web development, like form validation, user authentication and profiling, having a working admin interface and so on, all things that Django and RoR provide to you for free.
What other languages and frameworks have such commodities? I'm aware of some PHP frameworks like Symfony, but I really have used PHP for too long in pas years and I'm pretty fed of it. Thanks.
Stick with RoR in my opinion. It's still a young yet powerful framework. It's well maintained and quickly plugged whenever a security risk becomes known.
It doesn't really matter what kind of MVC framework you use since it all comes down to the programmer. Ruby on Rails cuts out the painful part of programming (IMO) and allows you to do the enjoyable parts. Requiring knowledge of SQL is very minimal within Rails unless you're doing complicated scoping.
If I kept searching around for different languages to explore after I found one that suited all of my needs and then some, I would never get anything done. Moving from PHP/CakePHP to Rails is definitely an upgrade in my opinion, but at this point, you're better off committing to one language (Python/Django or Ruby/Rails).
I would stick with Django. Having worked in everything from classic ASP, ASP.NET, ASP.NET MVC, Java, PHP and Rails, I can state, unequivocally that Django is hands-down the easiest to work with, most profitable framework I've ever used.
Rails does have some pretty controllers, but it pales in comparison when you get down to functionality. Sure, Rails has lots of plugins, but Django has nearly everything you need under one roof. Django-admin alone is a friggin' gold mine. I work full-time as a Technical Architect, but also own my own business. Switching from Rails to Django in 2008 was the single best thing I ever did for my business.
If you want something flexible, modular, easy-to-extend and incredibly well documented - Django is your ticket. You also see far, far fewer of these lovely posts with Django.

The next step after Java Play Framework 1.2.x? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am wondering what's the next logical step after developing applications with java play framework?
I really love to develop with play 1.2 but I am inconfident about its future, the main developers stopped their support on it (yet it is still opensource) and play 2.0 is a completely different product.
I tried to study play 2.0, but I just couldn't like the scala language (although it sounds like a great language to code)
So I decided to focus my web application projects to another framework. It shouldn't have to be java, but I prefer it to be a platform independent framework like ruby, or else. (I am also a .net developer with mcp certificate but i usually use osx enviroment for coding and I'm not a big fan of windows).
My Current problems with the play framework:
It works quite well but i dont see a future with it i am afraid the opensource community will stop developing 1.2.x after some time
Play 2.0 threads java as a second class citizen, and i am starting to losing my faith to its developers.
There are not much people looking for play framework jobs
The framework should be:
Platform independent
Database independent (can use hibernate
or else..)
Has a large user community
Has to be a proven framework with large enterprise applications
I've searched a little bit and I found grails, spring and RoR frameworks.
Ok then to make things clearer, heres a summary about my question:
Should i continiue from the "java" path?, i have concerns about time is changing and in few years, there will be more "scala" like functional languages used in web frameworks and they will be more useful in future frameworks
I am also wondering about Ruby langugage? Any insights about where will they be in the next 5 years?
Where do you see "Play framework with scala/java" in the next 5 years? Will they be worth the time invested on them?
Thanks for helping!
Spring.
If you know Java then a reasonable thing is to know Spring also.
People crap on Spring because they think:
Its not new and shiny
You need gallons of XML to do anything.
Its humongous monolithic beast.
Besides being mature none of the above is true. And unlike Play! Spring is in it for the long haul.
Spring also doesn't go off and build its "own" of everything but instead relies on best of breed libraries that you plug in. Thus with Spring you can play with what ever templating language, what ever build system, persistence, etc...
Now the only PITA with Spring is finding a good starting point. I recommend either Spring Roo or MWA
UPDATE:
I don't know why I got the -1 when the question was bad anyway (put a comment or something).
He asked for:
Platform independent
Database independent (can use hibernate or else..)
Has a large user community
Has to be a proven framework with large enterprise applications
IMHO There is not a framework that fits the above points better (particularly enterprise).
HE asked an opinionated question I gave him one.

Which framework for a web portal accessing a couchDB? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'll soon have to develop a web portal accessing a couchDB. Of course, I have done some research already, however I'm not sure if my ideas will work out.
I will have an existent couchDB. There will probably only be one user available which gets read-access via the GET-method. The web portal will have to filter and display data for different users from that couchDB, so I'll need some kind of extra user-management.
So far I have only basic knowledge about web frameworks and technologies, however I am quite experienced in Java. So from my research so far, I was seriously thinking about using Grails, ExtJS or both. However, will I be able to easily access the couchDB from within those frameworks? I've found some concerning info about necessary patches for ExtJS that are not in active development anymore.
I did have a very brief look at couchApps, however I'm not sure if those are sufficient enough (especially because of the user-management layer, I will only have this one couchDB user for accessing the DB). Also I found Django, however I'm not at all familiar with Python yet. :/
I'd be very thankful if someone could help me out a little in finding a suitable framework.
Thanks so far!
I would suggest that you go with whatever you know the best. It sounds like you're going to have to ramp up quickly, so learning a whole new language is near impossible. A new framework would be difficult.
Any language that can encode/decode JSON and has good a good HTTP can speak to CouchDB without a problem. If you're most familiar with Java then you're in good hands: Jackson is a very popular JSON library and there are plenty of good HTTP libraries. Ektorp is the most popular Java library for CouchDB.
Or you could skip the entire middle tier. Write a JS application in the browser that makes calls directly to CouchDB. Have your web server provide the access management: only certain users can access pieces of the CouchDB API, limit the HTTP writing verbs, etc. One popular way of doing this is to direct all GETs to CouchDB and direct all PUT/POST/DELETE communication to the business layer.
But like I said, since this sounds like a work project I would do whatever is most comfortable for you.
Cheers.

I'm a sysadmin wanting to learn some web-development,better Asp Webforms or MVC/RoR [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
So i'm a windows/unix sysadmin wanting lo learn some web development.Here is a list of what i'm planning to learn and want to do :
i'm planning to do that only as a hobby,for a couple of personal applications and my office little "intranet" (phone book,list of machines,a list of useful links and a password protected area for reserved info)
i only have a basic understanding of html (i can read and modify it without problems but not writing it as a web developer),no javascript/css
i used Ruby on Rails 2.x for the actual little office intranet,with a lot of copy and paste of html/css and a lot of scaffolding...so i know only the base of the old RoR
i'm developing on a Windows machine and wanna rebuild from scratch my little application adding some new useful stuff (like a community space for news,info and comments)
i will be on vacation in 5 days and wanna read about something new :)
So i'm considering asp.net webforms 4.0 because i have little to no knownledge of frontend languages. I know that is not considering good habit now,but i really do not wanna learn first html/css/javascript,it's just an hobby as i told you before
I've considered too Ruby on Rails 3.0,but i really hate TDD development idea and there is still the html-css-javascript problem
What can you suggest me ?
Sorry if this is not what you want to hear but I only have what you posted to go on and it seems like development is not for you. Programmers LOVE learning new technologies and playing with great languages. If you don't then find another hobby.
You start by saying essentially you have a basic idea of HTML. You want to write an intranet site. You don't want to learn HTML and CSS ?
But that's all a website is. The rest is just tools that enable you to product the HTML and css.
Perhaps you need to reconsider writing web sites ?
I've considered too Ruby on Rails 3.0,but i really hate TDD
development idea and there is still the html-css-javascript problem
Why would the fact that you hate TDD mean you can't use Rails 3? That just doesn't make any sense whatsoever.
If you have a real interest in this as a hobby then you need to learn HTML and CSS whichever tool you use to produce your application with.
TDD is good. Why do you hate it?
If you really hate learning new stuff then I guess you need to find a different hobby or choose a different solution to your intranet. i.e. non web based intranet.
Delphi, and .net platforms spring to mind but if you struggle with HTML you'll certainly not find object pascal or c# easy to pick up.
Best advice I can give you is don't do it.
Hobbies should be fun and you are really saying that you don't want to learn new languages like HTML, CSS, Rails etc...
If you really do want to do this then either bite the bullet and learn HTML/CSS as you develop your site using Rails 3 as this will handle all your database activities very nicely. You can add javascript when you feel more comfortable.
If you really don't want to learn how to write websites but still want to develop yout intranet which is pretty much what your question is saying, then try ruby, Delphi or .net and write a non web based intranet multi tier app.
Update based on comments below
Based on on your comment I strongly suggest you go with webforms. You are familiar with C# and the tone of your question is I don't understand Rails. Seems pretty much like you have made up your mind already anyway.
I'll just add that you should try these things for yourself rather than rely on opinions. You need to form your own opinion on what you like the best. Just make sure that opinion is based on fact. It worries me that you would think some of the things you have mentioned with regards to Rails.

Lua as a web language [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm building a new game and I need to build a web app to help manage content generation. The app would consist of a couple simple forms that would tie into a MySQL db.
I've been really interested in learning Lua for a long time due to it's large popularity in the video game industry and was wondering how well it works as a server side language. I could easily write the web app in PHP but I'd rather use this opportunity to learn Lua if it makes sense.
What do you all think?
Cheers,
Sure it can be done. Good idea if you just want to learn Lua. You should start here: http://www.keplerproject.org/
Of course, if your app would consist of a couple simple forms, you can use all what you want. But if it is more complex (will become more complex in future) it will be better to use some industry standard languages like Python or Ruby (or, at least PHP), there are a lot of good frameworks writen in them that very simplify your work (I don't know about any complete lua web frameworks) .
You should remember, that in future other people will have to maintain your code and there are very few web-developers who know Lua.
Probably, there will be problems with documentation and basic libraries too.
While LUA is a nice language for embedded development but i would extremely vote against LUA for web development.
The reason is that in Games you simply don't have an external API. All is done with your own objects only some calls into your game engine.
But the web world is so full of stuff you need, like SMTP, POP3, IMAP, SSL, Amazon APIs, Google APIs, RSS Apis, Imaging etc. and while the checklist for LUA may have a check mark behind all this words - it doesn't mean anything. Most of the stuff i have seen is just a "me too| implementation but not industrial strength. They are projects by hobbyists and are published on a "Its good enough for me" basis which is total unacceptable if you ever go mission critical.
There is a reason why it takes years and a huge community to get this up. Lua has an extremely small community of web developers.
So if this is a professional project where you put your money i can only say hands off. On the other side if you have enough money i still have some snake oil here for sale, please contact me.
I have been using lua for years as a web language. Initially using the Xavante project and more recently apache2.
Dont listen to any neigh sayers, its a great language for web developement and we use it to write business software, and not just for form processing, for graphical applications too.
Also it offers us seamless integration to any other lua or system functions we might need to call.
Good Luck!
Have a look at Nanoki which is built on a pretty minimal set of libraries (lfs, luasocket, lzlib, slncrypto)
and Sputnik which is built on Xavante or CGI
Lua is a good language but it is best suited to embedding within an existing project in order to quickly extend the capabilities of that project. In particular, the interesting aspect comes with how you bind it to the host application. This is definitely the case when programming for games where it is an embedded language rather than the language the whole app tends to be written in. So using a web app to learn about Lua with a view to making games is probably not a very good approach, especially since the syntax is very simple and would be picked up quite quickly anyway.
I think that specific variants of lua can be used successfully for web applications and I have done that in the past using the maintained weblibrary. It can depend on if the lower level software on the computer is itself written in lua because of its high speed and this may cause a clash of lua versions. Regarding a serverside possibility the server would need a compatible version of the script developing facility for the hardware and a suitable bytecode or VM instructions and custom VM runtime implementation for running the application.
I've been developing a pure Lua Web Server, you could always check it out and see if it suits your needs
Lua4Web https://github.com/schme16/Lua4Web

Resources