Giter VIP home page Giter VIP logo

dbl-angular-demo's Introduction

如何使用

git clone 此repo。

添加业务逻辑

  • 在state目录下按照home.js依葫芦画瓢,创建比如:demo.js
  • 在controller目录下按照homeController.js创建一个demoController.js
  • 在service目录下创建demoService.js
  • 在view下创建demo.html
  • ok大功告成。
  • 如果需要directive,在directive下创建一个文件即可。都是自动加载的
  • 如果需要services,在services下创建一个文件即可。都是自动加载的

为何用dbl

再也不用处理复杂的加载关系了,所有的我都已经帮你做好了。安心写你的业务逻辑吧。哈哈。 注意:有个隐藏大招,运行dbl server时会自动创建 8001端口,访问有惊喜。

如果需要我可以根据state 基于yeoman创建全自动化的脚手架。创建文件的时间都可以省了。我草,真是DBL(碉堡了)

dbl-angular-demo's People

Contributors

cc17 avatar

Watchers

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