All Projects → doublesecretagency → Craft Businesslogic

doublesecretagency / Craft Businesslogic

Licence: mit
Business Logic module template for Craft CMS

Projects that are alternatives of or similar to Craft Businesslogic

craft-audit
Audit log for Craft 3
Stars: ✭ 18 (-89.94%)
Mutual labels:  craft, craft3
visor
🕶 A simple admin overlay to get to the relevant areas of the Craft CMS control panel.
Stars: ✭ 25 (-86.03%)
Mutual labels:  craft, craft3
tablemaker
A user-definable table field type for Craft CMS
Stars: ✭ 39 (-78.21%)
Mutual labels:  craft, craft3
Seo
SEO utilities including a unique field type, sitemap & redirect manager
Stars: ✭ 210 (+17.32%)
Mutual labels:  craft, craft3
craft-plugin-mix
Helper plugin for Laravel Mix in Craft CMS templates
Stars: ✭ 50 (-72.07%)
Mutual labels:  craft, craft3
Buttonbox
A collection of utility field types for Craft
Stars: ✭ 94 (-47.49%)
Mutual labels:  craft, craft3
craft-bulkedit
Bulk edit any set of elements
Stars: ✭ 22 (-87.71%)
Mutual labels:  craft, craft3
craft3-collections
Clean up those complex templates with Laravel Collections
Stars: ✭ 24 (-86.59%)
Mutual labels:  craft, craft3
craft3-seeder
Seeder is the easiest way to quickly create placeholder content while you're building out a website. Create your sections & fields and then let Seeder make entries for you.
Stars: ✭ 30 (-83.24%)
Mutual labels:  craft, craft3
molecule
⚛️ Grab Twig components, CSS and JS files outside the primary template folder
Stars: ✭ 20 (-88.83%)
Mutual labels:  craft, craft3
Craftcms Docker
Craft3/Craft2 CMS Docker base (Nginx, PHP-FPM 8, PostgreSQL/MariaDB, Redis)
Stars: ✭ 99 (-44.69%)
Mutual labels:  craft, craft3
Craft Preparse Field
Field type that parses twig when an element is saved.
Stars: ✭ 103 (-42.46%)
Mutual labels:  craft, craft3
craft-entry-instructions
A simple fieldtype to add instructions.
Stars: ✭ 16 (-91.06%)
Mutual labels:  craft, craft3
padstone
Padstone is a Craft CMS starter kit with a curated configuration, Boilerplate templates, and handpicked plugins.
Stars: ✭ 18 (-89.94%)
Mutual labels:  craft, craft3
Craft Async Queue
Async Queue Handler for Craft 3
Stars: ✭ 80 (-55.31%)
Mutual labels:  craft, craft3
Simplemap
A beautifully simple map field type for Craft CMS.
Stars: ✭ 136 (-24.02%)
Mutual labels:  craft, craft3
Craft Remade
Implementation of CRAFT Text Detection
Stars: ✭ 127 (-29.05%)
Mutual labels:  craft
Craft Linkfield
Link field for Craft 3
Stars: ✭ 97 (-45.81%)
Mutual labels:  craft
Commerce
Fully integrated ecommerce for Craft CMS
Stars: ✭ 144 (-19.55%)
Mutual labels:  craft3
Craft
Composer starter project for Craft CMS
Stars: ✭ 122 (-31.84%)
Mutual labels:  craft3

Want to learn how modules work? Check out the complete documentation...


Business Logic module template for Craft CMS

It's a module about nothing...

Uhh... what?

When building a Craft website for your clients, you may find that you occasionally need to write some quick PHP to solve a problem. The good news... Craft lets you write any PHP you want via a custom plugin or module! The bad news... Putting together a module just to write some simple business logic can be kind of a pain, and the effort often feels like overkill.

What do you mean by "business logic"?

The term business logic is common in the software world... It basically means, "any processing logic which is unique to this specific company".

It's a boring topic, so I'll let Wikipedia explain it...

So really, what does this module do?

It does whatever you want it to do. It's a very simple template, designed to give you the basic tools you need to create a quick PHP-based interaction with the rest of your website. What you write inside this module is entirely up to you, and we expect that every website will have its own unique implementation. Go nuts!

What's included?

Variables

If you just need to pull some data into your template, or want to run a quick process before handing an array (or string, or whatever) back to your template, then variables might be the way to go! More about Variables...

Controllers

You might need a submitted form to do something special, or have an AJAX call with some simple back-end logic to sort out. Putting that stuff into a controller will let you work your magic behind the scenes. More about Controllers...

Services

No serious module is complete without a services layer. When things start to get a little crazy with your business logic, try moving large chunks of it to the services file. And if you decide that you need to create any records (or interact with the database at all), then you'll definitely want to put that logic into the services file! More about Services...

What isn't included?

Field Types, Records, Models, Element Types... Basically anything that seems unnecessary for the vast majority of business logic needs. If you're capable of determining that your business logic requires something as complex as an Element Type, we figure that you're smart enough to know how to build it from scratch.


How to Install

For complete installation instructions, check out the docs...


Fork Me!

Think this template can be improved? Go ahead and fork it! Pull requests are welcome, just keep a few simple goals in mind...

  • This module is designed to be ultra simple!
  • Only the basic needs of business logic need to be met... If a developer requires something more complex, it's assumed that they are capable enough to add those features.
  • Documentation is important! The components of this plugin should explain what they do, so any Craft noob can figure out how to shove some quick PHP in there and be on their merry way.

Thanks for checking it out! And feel free to also grab our favorite plugin of all time...

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].