building an extendible php application - php

I want to start a new project, there are currently 4 of us who plan to use the system as our website. So basically i'm wondering if there are any existing frameworks/libraries that will enable to us to build the app to be configurable. Kinda like how wordpress is, you can add your own theme and plugins to customize the functionality of the site. I don't want to use an existing cms such as joomla or a blog like wordpress because I want to be building my own app from the ground up.
If there aren't any frameworks that can do this, any suggestions on how i could go about accomplishing this? In essence i suppose its allowing the app to have a default theme then have that theme overridden and allowing use of "plugins"

build a plugin system with php

Related

How to use content management software with our own designed website?

I am new here and I am learning web development for now. So please don't mind if something is wrong with this post.
So, coming to the question, I came to know about various CMS softwares like wordpress, drupal etc.
They offer some free and paid themes to build a website.
But, I want to design my own website with Bootstrap framework and then use a CMS software to add content everyday. To be clear, I don't want to use themes.
SO, is it possible to make our own design and then integrate to CMS?
Please give some suggestions. Thank you.
As you mentioned, you want to have your own design built with Bootstrap and then use some CMS to get your blog up.
I suggest using WordPress as CMS, and taking any free Bootstrap based WordPress theme and modifying it as per your own design needs, this way you will not have to worry about WordPress theme building learning at this stage.
I suggest you to use Wordpress. You can design your own theme from scratch. Take a look at Theme Development on Wordpress. Also, these video tutorials should give you a good start. Good luck!

adding new module in wordpress

I'm sorry if my question is not good quality.I have problem when I want to understanding wordpress , I'm new in wordpress, and I want to create some module in wordpress, It's Possible?
ex.
if i want to add module, what must I'm studying in wordpress ?
Joomla usually refers to a module. Writing one in WordPress is considered a plugin. You should start studying the Codex and it will lay what you need to do out for you.
You can find that on the WordPress site at Writing_a_Plugin
WordPress Plugin: A WordPress Plugin is a program, or a set of one or more functions, written in the PHP scripting language, that adds a specific set of features or services to the WordPress weblog, which can be seamlessly integrated with the weblog using access points and methods provided by the WordPress Plugin Application Program Interface (API).
Wishing that WordPress had some new or modified functionality? The first thing to do is to search various WordPress Plugin repositories and sources to see if someone has already created a WordPress Plugin that suits your needs. If not, this article will guide you through the process of creating your own WordPress Plugins.
To develop WP plugins, you must familiar with wordpress hooks and API functions.
You can start learning/exploring from any existing plugins. I had started with "Hello_Dolly" :)

Drupal custom theme for existing php site

I am new to drupal and just finished studying the basic concepts in drupal.
We are migrating an existing php site into drupal.
The website posts articles every week and the articles are stored in database.
Do I need to create a custom theme if I want to have exactly the same presentation as of existing site?
And just seeking advice that if there is any easier way of migrating an existing dynamic php site into drupal.
You will definitely need to create a custom theme if you want to have it mirror the way your current site looks. I would recommend using a base theme, like Zen, and customize from there.
As far as migration goes, it really depends on how your site is currently setup. I would recommend writing a custom script to migrate your articles into Drupal.

How to go about allowing plugins for a custom framework?

First off, this isn't really a programming question but more of a programming concept question. Basically, I've built a bespoke PHP framework to speed up deployment on my end and I want some kind of plugin system in place that will allow me to add specific features to the base of the framework (like the SQL class or maybe a Twitter package) that will allow me to throw them into a folder and not have to actually edit the base for every new project.
Any ideas of the best way of going about this?
Here is a nicely written post by #ircmaxell on how to do that and what are the options:
Handling Plugins In PHP
Also check out:
Best way to allow plugins for a PHP application
what im doing in my cms:
for each plugin i make a folder latin-named of this plugin's name.
i create a /translations folder in there too. Check here.
have a single php file that has 2 basic functions, the plugin_install and plugin_uninstall (you know, things to happen on install/unistall like tables creation/drop)
create a special page of your system that reads these plugins, installed and not and give an on/off switch so users can install/unistall them.
load these single files mentioned above by a single call to include_once on top of your index page (or administration page) so to include whatever functionality they offer.
enabled plugins will be loaded (include_once) from your main page, and also their functionality, so each plugin can call each other's as well.

Recommended method for quickly creating a dynamic programmable php-mysql blog?

I want to create a blog-like website. At the begining I'll need a simple one person blog software, but in the future I'd like to have full access to the code and database (control the way posts are organized, offer special forms for creating new posts, allow users to register, implement a rating system, etc.)
What's the best solution for this? Is there a specific tool that will generate a database and php files, to which I'll have access, or should I code everything from zip?
I know Wordpress and Joomla are good blogging tools, but couldn't figure out whether I'll be able to freely redesign a blog that was created using those tools.
Wordpress is an open-source, flexible website infrastructure that is pluggable; and also quite simple to setup without any code modifications. It will generate its own database files and is capable of upgrading itself with minimal administrative overhead.
If you choose at a later date to expand the blog, you can manipulate and customize the theme (100% of what the end-users see), as you see fit.
Wordpress also has a strong plugin repository that may provide extended functionality without any need to code. For example, a post rating plugin already exists that shouldn't require coding to implement;
http://wordpress.org/extend/plugins/rate-this-page-plugin/
Just install wordpress, you'll have full access to the code and database, and it supports writing plugins to extend functionality. You can change page layout with their template engine.
Writing a blog from scratch is not a simple job
Just use Wordpress for now.
There are plenty of plugins to customize Wordpress
You can later develop your own plugins or write a new weblog system and migrate to it.
I'll promise when getting familiar with Wordpress. you won't leave it anymore!

Categories