Giter Club home page Giter Club logo

rabbitknight's People

Contributors

yuchenyang1994 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rabbitknight's Issues

Sqlalchemy中model的增强方法 | doge的Blog []~( ̄▽ ̄)~*

http://www.chenyang94.top/2019/05/27/sqlalchemy-models/

flask-sqlalchemy的痛点我们再使用flask开发接口的时候,经常需要讲数据库的模型直接转化为json给前端调用,之前我们一直使用非常笨的方法,比如将字段一个一个取出来,然后赋值给dict,或者写一个蹩脚的转换器。再新项目中,我改进了这种工作方式,给model统一添加一个to_dict与from_dict方法,更方便的开发符合restful规范的接口 Sqlalchemy Model

Sql反模式-如何应对各种数据库常见编程错误 | doge的Blog []~( ̄▽ ̄)~*

http://www.chenyang94.top/2019/02/25/sql-anti-patterns/

前言在我工作的过程中,不知为何,我常常与数据库打交道更多一点,最近在新公司当中.我依然看到大量的数据库反模式,此篇就来细数哪些数据库当中的错误使用案例,本人能力有限,解决方案并不能尽善尽美,但即便如此也是前车之鉴,后车之师,有则改之,无则加勉,安全生产,警钟长鸣。 那么有哪些反模式乱穿马路目的: 存储多值属性如,一篇博客可以拥有多个作者,且在数据结构上应该符合1NF. 反模式:格式化的逗号分割列表

2018年终总结 | doge的Blog []~( ̄▽ ̄)~*

http://www.chenyang94.top/2018/12/29/2018_end/

2018 年终总结命运多舛的一年�� 今年可能是最让我焦虑的一年,� 记得年前还真问了下算命的人,� 劝我今年不要折腾,� 可是我依然按耐不住我躁动的心。可能是周围人都不安分,��� 小聂去年年中鱼跃龙门 �,进入携程,之后如鱼得水。想当年跟我同时入行,� 我,小聂,小范,我还是他们中较为优秀的那个,可是看着小聂进步越来越快,不断敲着阿里的大门。焦虑涌上心头,想着我也可以,但是,� 未能如愿,先是

单元测试与设计模式的艺术 | doge的Blog []~( ̄▽ ̄)~*

http://www.chenyang94.top/2019/01/12/unittest-simple/

前言在我工作的这几年,设计模式这个词就不断萦绕于耳,为了学好设计模式,我曾不断的生搬硬套4人帮的著作(我是一名python程序员),在不断的工程实践当中,越发发现,设计模式的本质并不是前人总结好的套路,他遵循一定的原则。也就是我们耳熟能详的“SOLID”,一旦你的软件遵循原则,那么他其实也是你自己的模式。可回过头来你会发现,遵循这些原则并不容易,在日常coding当中,我们经常会为了快点实现功能,

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.