Skip to content

diosay/arkphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArkPHP

ArkPHP 是一个免费开源的,快速、简单的面向对象的轻量级PHP开发框架。 当前版本 v1.0.1 build 0

##编码规范 Coding Specification

##支持 Support

PHP v5.3或以上(开发版本,未测试其他版本).

PHP v5.3 or later(development only,untested other PHP version).

##源码层次结构 Source Code Layout

|	README.md							//说明文档
|	.gitignore							//GIT 忽略列表
\---ark									//ArkPHP 框架目录
|	|	ark.php
|	|	*.class.php
|	\---namespace						//子名字空间,如:ark/view 就为 view
|	|	|	*.class.php
+---apps								//应用目录。 类似于 .net 的 Areas
|	\---appname							//应用,必须符合 MVC结构.
|	|	|	App.class.php				//特殊类,类似于 .Net 下的 Global.cs,必须继承 ark\Application类,并且类名只能是 appname\App. 它不是必须的。
|	|	\---controllers					//控制器类目录
	|	|	|	*Controller.class.php
|	|	\---models						//数据模型类目录
	|	|	|	*Model.class.php
|	|	\---views						//视图文件目录
|	|	|	\---controller				//与controller对应的目录名称
|	|	|	|	|	action.tpl.html		//与action对应的视图(模板)文件。
|
\---data
|	\---.ark							//ark框架运行时目录,必须有可读写权限。如果目录不存在则会尝试自动创建。
|	|	config.php						//配置文件,可自定义。
|		
\---web									//网站部署根目录
|	\---content							//全局静态文件目录
|	|	\---css
|	|	\---scripts
|	|	\---images
|	|	index.php						//单入口文件。

##文档 Document 请访问wiki:https://github.com/ArkProject/ArkPHP/wiki

##发布历史 Release History 版本必须包文件命名规则: arkphp-{version}.(rar|7z|zip|etc.)

暂无发布

##协议 License

ArkPHP框架在无特别说明外全部源码均是遵循 Apache License 2.0 协议发布。

The ArkPHP framework is released under the terms of the following Apache License 2.0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages