Giter Club home page Giter Club logo

ebookchain.org's Introduction

Ebookchain 亿书

192.30.252.153 Ebookchain官方网站,可以作为产品类静态网站生成器使用,地址: http://ebookchain.org

ebookchain

特点

主要实现了以下几个功能(这些功能,是目前很多网站都在用的):

  • 导航动画:网站的header根据垂直滚动条的位置,动态调整。这个我已经抽出来,做成了Ember的插件,源码地址:https://github.com/imfly/ember-cli-animated-header

  • 滚动事件:Ember没有对Scroll事件的处理。这里为Ember提供了响应Scroll事件的能力,抽出的插件在这里: https://github.com/imfly/ember-cli-scroller

  • SVG动画: 当打开网站的时候,会看到第一页ebookchain的动画效果;

  • 全页展示: 滚动页面,页面会按照屏幕,逐个显示出来,自动适配屏幕大小。封装的插件在这里: https://github.com/imfly/ember-cli-fullPagejs

  • 多语言支持: 提供了英文和中文两种语言,默认是英文,咱也走国际范;

  • 模块布局: 产品特征、合作伙伴部分(甚至footer部分)直接用的json数据,完全按照mvc模式进行分离,添加、修改、删除、扩展都很方便,无需动刀页面;

  • 自动构建: 一键导出静态页面,合并压缩js,css等文件;

  • 一键部署

多语言支持和扩展性,显然要比纯粹的静态页面好处多多。细心的小伙伴,一定会发现,类似的主页非常多,有的基本上完全一样(事实上是静态页面的拷贝)。用亿书官网代码,建立类似的主页,扩展和修改就会轻松很多。

开发

请看文档: doc/development

详细开发文档请看: 《Nodejs开发加密货币》客户端开发部分

协议

MIT LICENSE 2016 @imfly

社区

区款链俱乐部: http://chainclub.org

开发者博客: http://blog.ebookchain.org

开发交流群: 185046161(QQ)

ebookchain.org's People

Contributors

evanlai8 avatar hellocob avatar imfly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ebookchain.org's Issues

使用程序提交不完整的作品ID时,也能提交成功

事实:http://ebookchain.org/ident/493

复现过程:

  1. 用程序提交一个不存在的文件哈希值,比如:20180211
    curl -H "Content-Type: application/json" -d "{\"name\":\"SunDawning\",\"email\":\"[email protected]\",\"fileName\":\"d36315dc770591f96bf43b9ff7863f04d6cada0e\",\"title\":\"d36315dc770591f96bf43b9ff7863f04d6cada0e\",\"description\":\"\",\"lastChangeTime\":1518314527,\"type\":\"d36315dc770591f96bf43b9ff7863f04d6cada0e\",\"size\":\"78247\",\"hash\":\"20180211\"}" http://api.ebookchain.org/api/save/filehash
  2. 返回值
    {"success":true,"code":0,"message":"ok user is exists"}
  3. 新的事实
    http://ebookchain.org/ident/20180211

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.