构建具有一些后端输出的网站需要哪些技能(我应该使用什么)? [英] What skills do I need to build a website with some back-end output (And what should I use)?

查看:112
本文介绍了构建具有一些后端输出的网站需要哪些技能(我应该使用什么)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此。我有一个项目/想法,需要一个网站,这将是一个响应式设计,并将有一些形式供用户填写。我需要捕获这些数据并让它可以访问。



我是一名新手程序员,但已经消耗了大量的免费在线资源 - 我已经得到了自己在HTML / CSS,Javascript和python中的一个更高级别的基本级别。我已经用它们构建了基本的东西,没什么了不起的。我在逻辑和学习新的STUFF方面相当不错,所以如果我需要别的东西作为答案的一部分,请不要犹豫,我愿意!



所以问题:



1我能否建立一个响应迅速的网站作为新手?我应该使用框架吗?任何指针?



2该网站将填写表格/文本字段,我需要捕获该数据 - 我该怎么做?我是否使用像Python这样的后端语言 - 或者我应该学习像PHP这样的东西吗?推荐哪一个?我在哪里存储数据? (域名提供商通常都有存储空间,或者我把它放在我的电脑上,还是必须购买服务器空间? - 这不会是大量的数据)



3对于一个有几页的基本网站,可能需要填写4页表格,这对新手来说会有多长时间?



我知道我可以付钱给某人,但我在项目本身之上使用它作为编码的学习经验,所以我不介意它是否需要更长的时间。



感谢您的帮助/建议!

So. I have a project/idea that needs a website, which will be a responsive design, and will have some forms for the users to fill out. I will need to capture that data and have it accessible.

I am a novice programmer, but have been consuming a lot of free online resources - I've gotten myself to a basic level in HTML / CSS, Javascript, and a crappier level in python. I've built basic stuff with all of them, nothing crazy. I'm pretty decent at logic and learning new STUFF so if I need something else as part of the answer, please don't hesitate to say so, I'm willing!

So the question(s):

1 Will I be able to build a responsive website as a novice? Should I use a framework? Any pointers?

2 The website will have forms / textfields to fill in and I need to capture that data - how do I do this? Do I use a back-end language like Python - or should I learn something like PHP? Which one is recommended? Where do I store the data? (do domain providers have storage usually, or do I put it on my computer, or have to buy server space? - It won't be a ton of data)

3 For a basic website with a few pages, and maybe 4 pages of forms to fill out, how long does this sound like it will take for a newbie?

I know I could pay someone, but I'm using this as a learning experience for coding on top of the project itself, so I don't mind if it takes a bit longer.

Thanks for any help / advice!

推荐答案

  1. 我不知道。术语新手非常模糊。一个好新手肯定会这样做。当然可以。但我很少遇到这样好的新手。我不知道你是什么人。你的问题对我来说很可疑。 (例如我应该使用框架吗?你真正应该使用你的大脑:-);没有人会告诉你你应该和不应该做什么;你需要自己学习如何做出决定。)但我不能确定你会失败。每个人都可以学到很多东西。毕竟,这不是火箭手术,甚至不是接近: - )。
  2. 这很简单:所有表单和字段只是客户端,HTML,是否带有JavaScript。客户端端的事件向服务器端和服务器端发送HTTP请求。你只需要一个表单就可以使用提交输入类型;然后,浏览器将使用所有表单字段来形成HTTP请求数据,使用 name 属性作为键并控制'属性作为键值对中的值。有关详细信息,请参阅: https://developer.mozilla.org/en-US / docs / Web / Guide / HTML / Forms [ ^ ]。



    或者,您可以使用Ajax直接在JavaScript代码中发送HTTP请求: http://en.wikipedia.org/wiki/Ajax_(编程) [ ^ ]。



    如果使用Ajax,您不必使用表单,因为您可以将所有HTML元素放在一个页面上,无论它们位于何处。如果你使用表单和提交,你不必使用JavaScript,但你可能还需要它用于许多其他目的:视觉和布局效果,初步客户端验证等等。



    你把表格问题(客户端)和Python vs PHP混合在一个项目中是很奇怪的(我不是告诉你,你的问题对我来说是可疑的吗?:-)) 。让我们来谈谈它。你只能在服务器端使用这些语言,这不是很明显吗?现在,粗略地说,Python是一个非常聪明的东西,非常规律,很适合工作,非常富有表现力,等等。 PHP ......好吧,垃圾是垃圾;我甚至不认为它是一种真正的编程语言,而是一些 ersatz - 语言。但是......也许这就是PHP更受欢迎的原因之一。如果你想找到最便宜但又可以接受的Web托管,PHP将会在所有情况下都存在,但是他们对Python有什么问题。或者语言可用,但基于Python的框架不是最好的。或类似的东西。 Python不是那么受欢迎,但可能非常适合Web开发。



    现在,重要的是要注意ASP.NET越来越受欢迎。它的功能和适用性,可靠性,可维护性,可用调试和日志记录功能,可能比所有其他技术更好。最低的托管价格往往会略高一些,但这种情况会随着时间的推移而不断改善。
  3. 我是否告诉过你,你的问题对我来说是否可疑?不同人的技能差异可能是数量级的。一个好的富页面可能值数百个其他页面。根据您的假设可以进行多长时间的估算。看,软件开发的主要技能包括强大的逻辑和良好的常识。想一想。你的问题怎么这么幼稚?
  1. I have no idea. The term "novice" is very fuzzy. A good novice will certainly do it. Quite certainly. But I rarely meet such good novices. I have no idea what are you. Your questions look suspicious to me. (Such as "Should I use framework"? What you really should is to use your brain :-); no one will tell you for sure what you should and what not; you need to learn how to make your decisions yourself.) But I cannot say for sure that you are going to fail. Everyone can learn a lot. After all, this is not rocket surgery, not even close :-).
  2. This is simple: all your forms and fields is just a client side, HTML, with JavaScript or not. The event on client side sends an HTTP request to server side, and the server side. You only really need a form is you are going to use "submit" input type; then all form fields will be used by the browser to form HTTP request data, using name attributes as a keys and controls' value properties as values in the key-value pairs. For further information, please see: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Forms[^].

    Alternatively, you can send HTTP request directly in your JavaScript code using Ajax: http://en.wikipedia.org/wiki/Ajax_(programming)[^].

    If you use Ajax, you don't have to use forms, because you can take all the HTML element one page, no matter where they are. And if you use forms and "submit", you don't have to use JavaScript, but you might need it for many other purposes: visual and layout effects, preliminary client-side validation and so on.

    It's strange that you mix up forms question (client-side) with "Python vs PHP" in one item (didn't I tell you that your questions are suspicious to me? :-)). Let's talk about it. You can use those languages only on server side, isn't it obvious? Now, roughly speaking, Python is a pretty smart thing, very regular, nice to work with, very expressive, and so on. PHP… well, trash is trash; I don't even consider it as a "real" programming language, this is rather some ersatz-language. But… maybe this is one of the reasons why PHP is much more popular. If you want to find the cheapest yet acceptable Web hosting, PHP will be there in all cases, but what they have for Python can be a problem. Or the language will be available, but the Python-based framework would be not the best. Or something like that. Python is not so popular, but potentially is very good for Web development.

    Now, it's important to note that ASP.NET getting more and more popularity with time. In its power and suitability for development, in reliability, maintainability, available debugging and logging facilities it probably much better than all other technologies taken together. The minimal hosting prices tend to be a bit higher, but this situation keeps improving with time.
  3. Did I tell you that your questions look suspicious to me? Difference in skills in different people can be orders of magnitude. One good rich page can be worth of hundreds of other page. What time estimates can be done based on your assumption. Look, main skills in software development include strong logic and also good common sense. Think about it. How your question can be so naive?





还有什么?我不想劝阻你。所有这一切都没有太复杂,但你需要学到很多东西。您需要非常好地理解通用编程,以及Web操作。然后,你不应该依赖你选择的一些陌生人的建议。你是否期望有人会告诉你:学习这个和那个,但不是那个和那个。嗯,是的,有些人可以合理地建议你不要浪费时间在这些垃圾上,但更典型的是,你必须学习一些竞争技术,语言和技术,然后才能做出自己的选择。毕竟,我从未见过只懂一种语言和技术的人(对于Web开发来说,这绝不是一个,但是,比方说,它们是一些固定的一组)并且真的知道它。为了更好地理解,您总是需要学习替代方案。如果我们抓住机会侧视他们,我们通常会理解很多事情。



祝你好运。

-SA


我的解决方案是DIY



首先我带你去ToDoList 7 - 一种有效且灵活的方式来掌控您的任务 [ ^ ],它是一种以分层方式管理要做的事情列表的软件。或者您可以使用您选择的程序。



创建第一个顶级任务我的项目功能,然后创建子任务以优化描述你想要什么功能以及你认为它将如何完成。

My Solution is a DIY

First I lead you to ToDoList 7 - An effective and flexible way to keep on top of your tasks[^], it is a software to manage lists of things to do in a hierarchical fashion. Or you can use the program of your choice.

Create a first top level task My Project Features, then create sub tasks to refine the description of what feature you want and how you think it would be done.
My Project Features
Site organisation
    Static pages
        HTML
    Dynamic pages
        HTML
        PHP or JavaScript (Language to generate pages)
        DataBases
    Form pages
        HTML
        Form handling
    ...



依此类推



然后创建另一个顶级任务需要技能用于项目并列出二级的所有技能。

使用字段来评估每项技能的掌握情况。



然后做同样的事情评价框架擅长什么以及它将如何帮助你。



等等。

然后通过检查在任务列表中,您将看到缺少的内容以及您的技能需要掌握。


And so on

Then create another top level Task Skills needed for the project and list all skills at second level.
Use a field to rate your mastering of each skill.

Then do the the same to rate what the frameworks are good at and how it will help you.

And so on.
Then by checking the tasklist, you will see what is missing and what skill you need to master.


这篇关于构建具有一些后端输出的网站需要哪些技能(我应该使用什么)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆