Git Product home page Git Product logo

nodestudy's People

Contributors

ynlisonia avatar

Watchers

 avatar

nodestudy's Issues

NodeStudy: 第一天任务

  • npm init 初始化一个项目
  • express 搭一个简单的服务器 ,有个页面可以显示 hello word
  • 完成后在下面总结之

代码组织:

仓新建 study 的目录,目录下就是每天的任务,任务文件夹命名以 n-name 为标准,每个任务必须有简单的 readme.

NodeStudy: 第二天任务

基于昨天的任务,做以下扩展:

  • 了解模板渲染的 layout 概念
  • 访问 /home, 可以渲染一个 home 页面,需要集成 layout
  • 页面里需要加载对应的 js 和 css. 提示:用 express 搭一个静态服务器即可
  • 模板引擎可以使用 jade 或者 xtemplate

加分项:

  • 分别用 jade 和 xtemplate 尝试,试着总结下异同点

NodeStudy: 第三天任务

  • 了解 MVC 的概念
  • 做一个简单的 ToDo List, 需要有 C(create)R(read)U(update)D(delete) 功能
  • 数据暂时保存在 db/task.json

NodeStudy: 第五天任务

任务:

  • 前端实现模块化(推荐 browserify),目录结构直接套用 xcake 的即可
  • 用 gulp 打包,本次实现编译 browserify 的功能
  • 为了方便看到效果,建议两三个页面都写一些简单的脚本

备注:

  • 在开发的过程中有使用之前提过的 nodemon 吗?碰到问题了吗?
  • 继续注意代码的风格和质量

@ynliSonia

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.