5 Star 8 Fork 5

Crazy / PHPCrazy

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

#PHPCrazy

PHPCrazy 是一个基于PHP编写的建站程序,程序简单,只有登录、注册、和后台管理功能

当然您也可以通过开源项目主页下载插件:Crazy-code

##Hello,World! 下面例子教你如何创建一个Hello,world插件: ###控制层 创建控制层文件 world.php ,把他放在 includes/controller/hello/ 目录下(没有 hello 目录请新建一个), 代码如下:

<?php

// 定义网页标题
$PageTitle = 'hello world';

// 加载 helloworld 模版
include T('helloworld');

?>

###视图 创建视图文件 helloworld.tpl.php ,把他放在 themes/AmazeUI/ 目录下, 代码如下:

<h1>Hello,World!</h1>

###访问试试?

http://您的域名/index.php/hello:world/

###您是开发者? 如果您想二次开发PHPCrazy,您可能喜欢以下工具:

Sublime Text 优雅的代码编辑器

Crazy / PHPCrazy Sublime Text Snippets Sublime Text编辑器下的PHPCrazy代码补全插件

Crazy / Amaze UI Snippets for Chinese Sublime Text编辑器下的 Amaze UI 代码自动补全插件 ##开发人员
@Crazy 创始人
@yi小轩 UI设计

The MIT License (MIT) Copyright (c) 2015 Crazy 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.

简介

PHPCrazy是一个使用PHP编写的简约程序,目前支持MySQL和SQLite两种数据库,程序只带登录、注册、后台管理,告别臃肿的CMS! 展开 收起
PHP
MIT
取消

发行版 (1)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/Crazy-code/PHPCrazy.git
git@gitee.com:Crazy-code/PHPCrazy.git
Crazy-code
PHPCrazy
PHPCrazy
master

搜索帮助