wangnan1305 / kingbookapp Goto Github PK
View Code? Open in Web Editor NEWbackbone学习,小项目
backbone学习,小项目
1、直接在命令行运行gulp进行开发,在浏览器打开:http://localhost:5000/index.html 2、源码在src目录下,发布目录在dist 3、对源码的html,js,css文件进行修改会自动刷新和构建. 全局命名空间和包名: window.ebookweb//主包 window.ebookweb.config//一些配置 window.ebookweb.mediator//事件交互 window.ebookweb.events//事件 window.ebookweb.models//数据对象 window.ebookweb.views//视图包 window.ebookweb.views.components//视图组件 window.ebookweb.views.pages//页面 window.ebookweb.utils//一些共用的方法或者类 对应js路径在js目录 模版 templates目录 template/header.html#头部 template/footer.html#底部 template/components/*.html#组件的模版html,命名和id一样,下划线间隔 template/pages/*.html#页面的模版html,命名和id一样,下划线间隔 最终所有html打包成index.html 逻辑和组件js 包名对应文件夹名字 init.js//最先初始化的js router.js//路由 stat.js//统计埋点相关 startwork.js//全部组件打包完成之后前端开始工作,最后执行
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.