Giter Club home page Giter Club logo

small-bookcase's Introduction

small-bookcase

技术栈

服务器:node.js + express 前端:bootstrap + jquery 数据库:mysql

运行

windows:

set DEBUG=s-bc:* & npm start

Log

<2017-01-17 周二>

完成

将原来用 JSP 写的购书网站的主页,换成 ejs 模板,用 node express 路由。

遇到问题

  • 异步访问数据库,还没等到数据传回来,模板引擎就已经渲染了页面并响应。
  • json 数据格式的处理
  • js 闭包

目前问题基本解决。在解决问题过程中,深刻(TAT)意识到了对 node 的基础知识的学习严重不足。

将要解决的问题

其他页面的模板转换

  • State “DONE” from “TODO” [2017-01-22 周日 22:40]

HOLD 会话

  • State “HOLD” from “TODO” [2017-01-22 周日 22:41]

<2017-01-18 周三>

完成

sign,book 页面的渲染,和了解了表单请求的一点过程。

遇到问题

  • 纠结于极少量数据的处理是应该模块化还是逐项罗列

<2017-01-22 周日>

完成

  • 所有页面的渲染
  • 必要的数据库查询
  • 用 cookies 进行简单的会话

遇到问题

  • node 的异步并行的控制
  • sql 查询优化

更深层次的了解 cookies 以及 会话

small-bookcase's People

Contributors

zhufuge avatar

Stargazers

 avatar

Watchers

 avatar

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.