6 Star 29 Fork 13

cityboat / OnePascal

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

OnePascal中间件

双平台:Delphi/Lazarus

三通讯库:Mormot2/RTC/delphi-Cross-Socket

开源 / 免费 / 全源码

=========================================================

** 关于github/gitee同步更新地址:

https://github.com/cityboat888

https://gitee.com/cityboat888

** 关于OnePascal

**OnePascal是叫兽(FLM)QQ:378464060 开发的三层中间件,

基于Delphi/Lazarus/HBuilderX/等IDE,

支持MVC及传统DataSet框架,使用的是Mormot2的HTTP通讯**

OneDelphi简介:

Delphi版本: OneDelphi 包括OneServer/OneClient/ClientDemo/OneFastClient

Lazarus版本: OneLaz 包括OneServer/OneClient/ClientDemo

HBuilderX版本: OneUniAPP 对接OneDelphi/OneLaz服务端中间件

关于通讯库

=========================================================

本仓库弃用Mormot2,采用最新版的Delphi-Cross-Socket(2023.10.03)

** 修改人:CCC QQ:1650680975 **

Delphi版本: OneDelphi已支持最新版delphi-Cross-Socket

Lazarus版本: OneLaz已支持最新版delphi-Cross-Socket

关于开发环境

=========================================================

Windows 11 x64/AMD DX11
laz V3.99 fpc V3.3.1

关于开发工具

=========================================================

Delphi IDE: 请支持正版开发工具或者社区免费版https://www.embarcadero.com/cn/products/delphi/starter

Lazarus IDE: https://www.lazarus-ide.org/

IDE能运行于Windows, macOS, Linux, BSD, Raspberry等系统,

能跨平台编译android/linux/wince/mac/信创等操作系统(包括龙芯等)

Hbuilderx IDE: https://www.dcloud.io/hbuilderx.html

关于使用方法

========================================================= ** 最新版cross socket中cn*.pas文件来源于cnpack, 请下载cnVcl_Crypto.rar或自行到cnpack去下载 (需手动配置Cross目录及cnpack相关文件目录)**

1.方法一:使用这三个文件替换onedelphi/onelaz 中的同名文件

2.方法二: onedelphi/onelaz项目,右键查看源码,把下面三个文件的路径配置正确即可

OneWebSocketServer in 'Cross\OneWebSocketServer.pas',

OneHttpServer in 'Cross\OneHttpServer.pas',

OneHttpCtxtResult in 'Cross\OneHttpCtxtResult.pas',

3.方法三:把CrossOneServer.dpr和Cross文件夹复制到OneServer同级

4.最新版Cross-Socket需配置cross及相关文件路径(delphi和lazarus).

Alt text

Alt text

关于开源组件

=========================================================

Delphi-Cross-Socket开源地址: https://github.com/winddriver/Delphi-Cross-Socket

mORMot2 开源地址: https://github.com/synopse/mORMot2 注意: static目录里的文件需要单独下载 https://synopse.info/files/mormot2static.7z

RTC 开源地址: https://github.com/teppicom/RealThinClient-SDK/

cnpack开源地址: https://github.com/cnpack/cnvcl

群友维护OneDelphi地址: https://github.com/xenli/OneDelphi

关于Gitee

===================================================================

  1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
  2. Gitee 官方博客 blog.gitee.com
  3. 你可以 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
  4. GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
  5. Gitee 官方提供的使用手册 https://gitee.com/help
  6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/

代码仅供学习使用

MIT License Copyright (c) 2023 cityboat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

OneDelphi是基于Delphi IDE开发的三层中间件, oneLaz是基于Lazaus IDE开发的三层中间件, OneUniApp是基于HBuilderX IDE开发的多端合一app 中间件支持MVC及传统DataSet框架, 使用的是Mormot2的HTTP通讯 这个版本是在源码的基础上(放弃mormot)使用cross作为HTTP通讯 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Pascal
1
https://gitee.com/cityboat888/OnePascal.git
git@gitee.com:cityboat888/OnePascal.git
cityboat888
OnePascal
OnePascal
master

搜索帮助