定制 page-carbajal/wpexpress 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

page-carbajal/wpexpress

最新稳定版本:2.0.7

Composer 安装命令:

composer require page-carbajal/wpexpress

包简介

README 文档

README

For all of you my fellow developers who are not familiar with WordPress.

Instead of trying to sell you into WordPress I'll ask you to do a google search for why wordpress.

Then do the same for other Content Management Systems, read a little, then decide what's better for you.

I will however tell you why I use WordPress to run my Websites.

WordPress powers +25% of the websites on the Internet. This means that 1 of every 4 websites are using it.

Some of the bennefits it gives me:

  • Improved time to market
  • Easily create Content Networks
  • Thousands of themes free and premium
  • Thousands of plugins free and premium
  • It is already a great blogging platform
  • Great UX
  • BuiltIn API
  • Runs on apache or nginx
  • It runs 1/4 of the Internet's websites
  • And it is Open Source

What is WPExpress

I like using frameworks like Rails, Laravel and Symfony.

They make me love writing code.

Very smart people wrote hundreds of thousands of lines of code to implement concepts such as Separation of Concern, Convention over Configuration and so on.

I love rake, and artisan. I am infatuated with how Symfony is structured as a set of components rather than a full fledged Framework.

And I also have a thing for composer, autoloading and depedency management.

Last but not least. I worship Mustache and Twig

When you get to know and work in environments as cool as those I have talked about, going back to monolite-style code writing is, HARD.

I found myself having to write similar code across different projects and I decided I wanted to focus on writing meaningful code and abstract the repetitive stuff as much as possible.

I wanted to go from this

$args = array();

$query = new WP_Query( $args );

wp_reset_post_data();

To this

$posts = Query::Posts->limit(10)->meta('field', 'value')->get();

I wanted to use composer, abstraction and chainable methods, and every other thing I love in modern PHP within WordPress. But here's the compromise. I do not want to change WordPress.

I do not want to write my own queries, I do not want to alter the core. I want WordPress to be kept intact. I just want a Framework which will allow me to do more with less.

Less configuration, less plugins, less time to market.

Finally I am writing this framework to allo my self to focus on writing meaningful code.

Quick Start

This small WordPress Frmework is designed to be easy to use.

Start by reading our documentation.

Framework Structure

统计信息

  • 总下载量: 191
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL3
  • 更新时间: 2015-11-03