以后想做web开发 现在可以在什么方面努力?
本人大二 计算机专业
正在学python
对web有一定了解
请问往哪方面努力好 ?
回复内容:
首先你要明确自己是想做全栈工程师还是仅仅后端工程师,毕竟前端需要花费很大的精力,我个人推荐先做后端工程师。后端工程师对前端了解就行,能基本看懂前端同学写的模板,自己的精力还是要放在后端上。
对Python web框架来说,基本上工作就是django,flask,tornado三选一,这三个也都很有个性,
我个人建议先从flask开始,小巧精致,核心代码很容易阅读,我推荐flask web development这本书,循序渐进的使用了flask的一些扩展,每碰到一个扩展我都建议去看下源码,像flask_sqlalchemy,flask_login,flask_cache都是很优美的。再进阶就是深入了解jinja2模板引擎,werkzeug wsgi库,这是构建flask的基础。
在这同时数据库肯定是要跟进的,我推荐mysql,学习基础,学习编程优化,索引原理,join原理,explain使用,query cache, thread cache, table cache。。。
当然orm我推荐sqlalchemy,要玩转sqlalchemy可不是容易事,等到深入sqlalchemy时,推荐看看>,最近我在看,嘿嘿
当我web服务器必不可少,推荐nginx,会写配置文件,了解如何优化,如work process的设置等。
都搞完了,你再来看看django,你会很熟悉,毕竟她就是上面所有的综合体,看看django book,很快可以看完
在这期间,你可以去学习学习tornado,学习epoll的使用,用它去写个高性能爬虫,哈哈,都挺有意思。
当然项目实战必不可以,比如开发个微信电影小站,让爬虫去爬乐视的视频,找个开源html5播放器,用户可以标记连载视频,当有更新时可以通知用户;可以标记现在是vip视频,等免费时可以通知用户。。。当你发现搜索太慢时,这时你会接触到全文搜索,可以了解了解python中的whoosh,当然可能还会有猜你喜欢功能,可以玩玩推荐系统(这时你会发现,唉早知道认真学习高数了,宁愿挂死)
当然这期间python还要一直进步,python学习手册带着看,你就会一直在进步。 想做web开发就往web开发方向努力呗。
主要包括:
1. http协议
request, response, header, cookie。
2. 前端
必会:html, css, js
js库: jQuery, backbone
css库: bootstrap
注:jQuery虽然现在在实际项目有被淘汰的趋势,但是还是有必要学习一下的。
backbone可选,精力有限的话可以先不管。
3. 后端
既然题主说Python,那我就说一些跟Python有关的吧。
框架:django, tornado, twisted。
注:django比较热门,国内的论坛/书籍/资料相对比较多,学习的时候可以从它入手。
tornado, twisted可选,精力有限的话可以先不管。
数据库:MySQL。
4. 呃……
以上都是很基础的东西。
先写这么多吧。 楼上说的已经挺好了,我在这里推荐一些牛人的python教程吧。
我自己入门很受用的:
Python教程 - 廖雪峰的官方网站
Python快速教程
python | the5fire的技术博客

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



There is no built-in sum function in C language, so it needs to be written by yourself. Sum can be achieved by traversing the array and accumulating elements: Loop version: Sum is calculated using for loop and array length. Pointer version: Use pointers to point to array elements, and efficient summing is achieved through self-increment pointers. Dynamically allocate array version: Dynamically allocate arrays and manage memory yourself, ensuring that allocated memory is freed to prevent memory leaks.

There is no absolute salary for Python and JavaScript developers, depending on skills and industry needs. 1. Python may be paid more in data science and machine learning. 2. JavaScript has great demand in front-end and full-stack development, and its salary is also considerable. 3. Influencing factors include experience, geographical location, company size and specific skills.

Although distinct and distinct are related to distinction, they are used differently: distinct (adjective) describes the uniqueness of things themselves and is used to emphasize differences between things; distinct (verb) represents the distinction behavior or ability, and is used to describe the discrimination process. In programming, distinct is often used to represent the uniqueness of elements in a collection, such as deduplication operations; distinct is reflected in the design of algorithms or functions, such as distinguishing odd and even numbers. When optimizing, the distinct operation should select the appropriate algorithm and data structure, while the distinct operation should optimize the distinction between logical efficiency and pay attention to writing clear and readable code.

!x Understanding !x is a logical non-operator in C language. It booleans the value of x, that is, true changes to false, false changes to true. But be aware that truth and falsehood in C are represented by numerical values rather than boolean types, non-zero is regarded as true, and only 0 is regarded as false. Therefore, !x deals with negative numbers the same as positive numbers and is considered true.

C language identifiers cannot contain spaces because they can cause confusion and difficulty in maintaining. The specific rules are as follows: they must start with letters or underscores. Can contain letters, numbers, or underscores. Cannot contain illegal characters (such as special symbols).

There is no built-in sum function in C for sum, but it can be implemented by: using a loop to accumulate elements one by one; using a pointer to access and accumulate elements one by one; for large data volumes, consider parallel calculations.

In C language, snake nomenclature is a coding style convention, which uses underscores to connect multiple words to form variable names or function names to enhance readability. Although it won't affect compilation and operation, lengthy naming, IDE support issues, and historical baggage need to be considered.

The H5 page needs to be maintained continuously, because of factors such as code vulnerabilities, browser compatibility, performance optimization, security updates and user experience improvements. Effective maintenance methods include establishing a complete testing system, using version control tools, regularly monitoring page performance, collecting user feedback and formulating maintenance plans.
