GithubHelp home page GithubHelp logo

sdgdsffdsfff's Projects

hedis icon hedis

glad to work with @roger. Tag: HBase, Redis, MemoryCache

hellodata icon hellodata

HelloData分析: 1、HelloData.FrameWork:为数据库底层框架,支持多种数据库操作,加入了BaseEntity与BaseLogic,BaseManager两个有关业务逻辑的继承方式。在数据库生成model的时候使用T4生成, 并且生成的数据库表对应的对象类为部分类(partial),如果需要扩展加入当前对象的多个部分类即可。这样做的好处是将数据库生成 的类与业务间的操作分离。BaseLogic的继承BaseLogic<T>,T为操作数据库表对象的泛型,里面包含的常用的新增,删除,修改,获取一个实体,获取实体list ,BaseManager<T, TU>,T为操作逻辑类,TU为操作逻辑对象类。继承后当前操作逻辑类为全局唯一实例,使用了单一模式,操作方法也是包含了那些常用的逻辑操作。 书写Demo: using (DeleteAction delete = new DeleteAction(Entity)) { delete.SqlWhere(cms_user.Columns.id, "1,2,3,4,5", RelationEnum.In); delete.Excute(); return delete.ReturnCode; }; using (UpdateAction update = new UpdateAction(Entity)) { update.SqlKeyValue(cms_user.Columns.createtime, null); update.SqlKeyValue(cms_user.Columns.password, "123456123"); update.Excute(); return update.ReturnCode; }; using (SelectAction select = new SelectAction(Entity)) { if (!string.IsNullOrEmpty(username)) select.SqlWhere(cms_user.Columns.username, username, RelationEnum.Like, ConditionEnum.Or); select.SqlPageParms(pageSize); return select.QueryPage<cms_user>(pageIndex); }; using (SelectAction action = new SelectAction("")) { action.SqlWhere(cms_user.Columns.username, "admin"); action.SqlWhere(cms_user.Columns.password, "123456"); PageList<cms_user> lists= action.QueryPage<cms_user>(1); return null; } 操作数据库的时候可以加入缓存,缓存现支持webcache,Redis,MemberCache ,后两种可以支持分布式部署操作; 2、HelloData.FWCommon:包含加密解密;导出操作:txt,csv,excel;序列化与反序列化:二进制,json,soap,xml; 其他的常用操作,例如:html操作,socket网络爬虫等。 3、HelloData.FWExtend:这个为开发人员项目操作的,基于HelloData.FrameWork的扩展; 4、HelloData.Web:里面加入url重写,多语言模块,ajax请求类似mvc的操作。 操作demo: function ajaxdemo() { $.ajax({ type: 'POST', url: "ajax/demo/do", data: "{ 'result':{ 'Result':-1,'Message':'不支持GET请求','PostTime':'2012-2-2'},'ido':233}", contentType: "application/json", dataType: "json" }); }

hera icon hera

hera 分布式任务调度系统 大数据任务调度系统 任务调度 (数据部门专用)

hermes icon hermes

Ctrip asynchronous message queue solution

hermes-jsonrpc icon hermes-jsonrpc

使用 GSON/Protostuff 的轻量级HTTP协议的Java Json Rpc框架

hermeseventbus icon hermeseventbus

A library for using EventBus between processes, useful in the IPC or plugin development.

hetu icon hetu

低代码平台, 可视化编辑器,单手打代码,解放你的双手

hex-mina icon hex-mina

基于mina实现的16进制数据通讯服务器框架:此项目是对曾经使用过的陈旧架构的重构,此框架下曾开发过游戏/平台服务器,支持多客户端调用,包括:C#+unity开发的游戏客户端、C++开发的PC客户端、object-c开发的IOS客户端、Java开发的Android客户端等。

hex-struts2 icon hex-struts2

基于struts2拦截器实现的16进制数据通讯服务器框架:此项目是对曾经使用过的陈旧架构的重构,此框架下曾开发过游戏/平台服务器,负载峰值达40Wpv/s,日请求达到2KWpv/d。支持多客户端调用,包括:C#+unity开发的游戏客户端、C++开发的PC客户端、object-c开发的IOS客户端、Java开发的Android客户端等。

hfish-1 icon hfish-1

Extend the enterprise security test open source honeypot system , Record hacker attacks. 扩展企业安全测试主动诱导型开源蜜罐框架系统,记录黑客攻击手段

higo icon higo

海狗-多维在线分析系统

hildeguard icon hildeguard

Provides two factor authentication for SSH sessions

hilo icon hilo

A Cross-end HTML5 Game development solution developed by Alibaba Group

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.