简体   繁体   English

在网络应用程序上工作的单身人士。 使用什么平台?

[英]Single person working on a web app. What platform to use?

I can code in three languages/platforms: Java (its been long time), ruby on rails (beginner) and Drupal/PHP (beginner). 我可以使用三种语言/平台进行编码:Java(已经很久了),ruby on rails(初学者)和Drupal / PHP(初学者)。 This app is a pet project I really want to complete and involves some good business logic as well as need to have nice front end. 这个程序是我真正想要完成的宠物项目,涉及一些良好的业务逻辑以及需要好的前端。

I really cannot decide which platform to chose. 我真的无法决定选择哪个平台。 I have done some work in RoR and some in Drupal and I have not been able to make up my mind about what is the way to go. 我在RoR中做了一些工作,在Drupal中做了一些工作,但我仍无法确定前进的方向。

There is absolutely no connection between languages and the fact that you want to do a webapp all by yourself and that it will involve some business logic and a nice UI. 语言与您完全想自己制作一个Web应用程序之间没有任何联系,它涉及一些业务逻辑和一个漂亮的UI。 Choose the language you feel most comfortable with. 选择您最喜欢的语言。

You have 2 simple options: 您有2个简单的选择:

  • Pick the language you are more comfortable with 选择您更喜欢的语言
  • Pick the language that you want to learn or gain more experience in 选择您想学习的语言或获得更多经验

It really is that simple and we cannot tell you to pick one or the other. 确实如此简单,我们无法告诉您选择其中一个。 There are too many factors and it all boils down to what you want. 有太多因素,所有这些都归结为您想要的。 Are you trying to learn a language if so don't go with the language you are comfortable with. 您是否在尝试学习一种语言,如果您不喜欢这种语言。 Are you trying to hurry up and get this "pet" project complete, if so pick the language you already know. 您是否要急着完成这个“宠物”项目,如果是,请选择您已经知道的语言。

Use the platform which you enjoy working with the most. 使用最喜欢的平台。 I've worked on these types of projects and you first and foremost need to have fun with it - if you don't you'll likely never finish it. 我已经从事过这类项目,您首先需要玩的开心-如果您不这样做,您可能永远也不会完成。 All the options you have here will work fine for a web app, so just go for it :) 您在此处拥有的所有选项对于Web应用程序都可以正常使用,所以就去吧:)

I'd go between ROR and Drupal/PHP. 我会介于ROR和Drupal / PHP之间。 The biggest factor is your comfort with the platforms. 最大的因素是您对平台的舒适度。 But you should also think about what you're looking for out of the box. 但是,您还应该开箱即用地考虑所要查找的内容。 Do you want all the features and out-of-the-box functionality of Drupal or do you want to build everything from scratch? 您是否需要Drupal的所有功能和现成的功能,还是要从头开始构建所有内容?

If you want to build from scratch, go with Rails. 如果要从头开始构建,请使用Rails。

Ask yourself some questions before you want to choose a technology (Since it is your pet project you have the freedom to choose the technology you want).However there are many other reason you might want to use some other technology. 在选择一种技术之前,先问自己一些问题(由于这是您的宠物项目,因此您可以自由选择所需的技术)。但是,还有许多其他原因需要使用其他技术。 First of all are you going to sell this solution or is it like you want to do this to learn something new.If learning is the purpose then choose the technology that you want to learn now.If selling is the purpose then make a business decision. 首先,您将出售此解决方案,还是想要学习新的东西;如果以学习为目的,则选择现在要学习的技术;如果以销售为目的,则做出业务决策。

Few years back i had written a java web aap, and i felt the java web hosting was more costlier then a plain php/mysql solution.Now though the times have changed.Also i felt php/mysql could have been much faster for coding and deployment, for the small web app that i was working on then. 几年前,我写了一个Java Web Aap,我觉得Java Web托管要比普通的php / mysql解决方案更昂贵。虽然时代已经改变了,但我还是觉得php / mysql可以更快地进行编码和部署,用于当时正在开发的小型Web应用程序。

If you lean back towards Java, try Seam. 如果您倾向于Java,请尝试Seam。 The language choice is more personal preference than anything else, but the frameworks vary from great to painful. 语言选择比其他任何东西都更个人喜好,但是框架从强大到痛苦都有变化。

If you are a java developer, you should consider grails. 如果您是Java开发人员,则应考虑使用grails。 It is a modern java based framework. 这是一个基于Java的现代框架。

The language you choose wont make any difference. 您选择的语言不会有任何不同。 Not much anyways, you can do whatever in each. 无论如何,您都可以做任何事情。

As for technology I would advise against Drupal. 至于技术,我建议不要使用Drupal。 It's a heavy piece of machinery and can do a lot of things. 这是很重的机器,可以做很多事情。 But it's more suited as a cms that a framework for webapps. 但是,它更适合作为Web应用程序框架的cms。 You probably want something more light, that give you free hands. 您可能想要更轻的东西,让您有空。

If this is your first app, I would start it with a language you feel most comfortable with. 如果这是您的第一个应用程序,那么我将以您最熟悉的语言开始。 Believe me, there will be plenty that you'll learn about the web development process in general. 相信我,您将在一般的Web开发过程中学到很多东西。

Once you've done this, you'll be able to evaluate whether you want to use frameworks or CMSes based on your experience in dealing with all the parts of web development. 完成此操作后,您将能够根据在处理Web开发的所有部分方面的经验来评估是要使用框架还是CMS。

Ruby on Rails has a CMS called BrowserCMS . Ruby on Rails有一个称为BrowserCMS的CMS。

You can watch a developer talk about that at http://aac2009.confreaks.com/07-feb-2009-10-00-browsercms-patrick-peak-and-paul-barry.html . 您可以在http://aac2009.confreaks.com/07-feb-2009-10-00-browsercms-patrick-peak-and-paul-barry.html上观看有关该主题的开发人员讨论。

The presenter talks about Drupal in his talk. 主持人在演讲中谈到了Drupal。

If you new are both PHP and Ruby but have Java background, I would suggest Ruby on Rails. 如果您既是PHP又是Ruby,但都具有Java背景,那么我建议使用Ruby on Rails。 But as others say, trying to compare a CMS (Drupal) and a framework (Rails) isn't logical. 但是正如其他人所说,尝试比较CMS(Drupal)和框架(Rails)是不合逻辑的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我需要通过heroku服务器和iOS应用程序购买SSL证书。 我究竟需要什么? - I need to purchase an SSL certificate to use through a heroku server and iOS app. What exactly do I need? 简单的jQuery灯箱不适用于Rails应用。 请帮助? - Simple jQuery lightbox is not working on Rails app. Help please? 我的应用程序中的未定义方法。 怎么了? - Undefined method in my app. What's wrong? 多域Rails应用程序。 如何智能地使用MVC? - Multi domain rails app. How to intelligently use MVC? 找出Rails应用在主机上正在使用的Web服务器 - Find out what web server a Rails app is working on on the hosting 您为网络应用程序使用什么翻译过程 - What translation process do you use for your web app 是否应将Web应用程序与Web Server分开以用于多平台? - Should I separate Web app from Web Server for multi platform? 什么技术堆栈/平台用于项目? - What tech stack/platform to use for a project? 有一种方法将在rails应用程序的Views,Controllers和Worker中使用。 定义它的最佳位置是什么? - Have one method that will be used in Views, Controllers and Worker in rails app. What is best place to define it? 在Rails应用中路由。 发出的请求与我运行耙路时显示的请求不同 - Routing in rails app. Request being made is different from what is shown when I run rake routes
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM