Git Product home page Git Product logo

myweb's Introduction

myweb

用户user email_MD5 = md5.update(this.email.toLowerCase()).digest('hex'),//哈希加密 head = "localhost/" + email_MD5 + "?s=";//顶部url更改 表字段 name; password; sex; logo; email; head; 方法: save 存储用户信息 get登录时读取用户信息

游记post 表字段 name head time title tags post Comments//数组对象 reprint_info//{对象} Pv 方法: save //存储文章 getTen //一次获取十篇文章 getOne //一次获取一篇文章 edit//返回原始发表的内容 数组格式) Update //更新一篇文章及其相关信息 remove//删除一篇文章 getArchive//返回所有文章存档信息 getTags//返回所有标签 getTag//返回含有特定标签的所有文章 search//返回通过标题关键字查询的所有文章信息 reprint//转载一篇文章

评论Comment 表字段 name day title comment 方法 save//通过用户名、时间及标题查找文档,并把一条留言对象添加到该文档的 comments 数组里

myweb's People

Contributors

fengdanfeng avatar

Watchers

James Cloos avatar  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.