Giter Club home page Giter Club logo

cake-cored's Introduction

CakeCORED README

Simple vs-code Extension integrates some of CakePHP Framework's common tasks into the editor.

Features

DEBUG HELPER: Creates a status bar label that shows the current Debug value from your current open project. When clicked, it changes the Debug value from app.php or core.php automatically.

Changing debug value by clicking over status bar

Requirements: Works while the ./config/app.php or the ./app/Config/core.php files exists. Since the logic is based on string pattern search, it's recommended not to change the configuration lines of the file.

If you're wondering how does it works here are the steps:

  • Basicaly it searches \env('DEBUG',\ or \write('debug',\ pattern;
  • Then it holds the index and do a str_split for proccessing the value written on the file.
  • After that, there are functions that translate and change the value accordingly to CakePHP's version.

DATABASE HELPER: Coming soon!!

Requirements

Works with CakePHP 2^ and CakePHP 3^.

Extension Settings

  • cake-cored.enable: {true/false} enable/disable this extension.
  • cake-cored.debugHelper: {true/false} enable/disable the Debug Helper interface.

General Feedback

Please, if you want to contribute to this project somehow (organization, development or even providing sugestions for future implementations) send an email to [email protected].

Any kind of support would be appreciated!

Release Notes

Known Issues

Code design choice: There are tons of design patterns that I could use when developing this plugin, but at first glance, I had to draw some diagrams to connect some dots and finnaly ended with this design choice.

The basic thoughts on it was:

  • Having a main class that controls functions of this plugin was a necessity.
  • Every functionality has its own classes and libs if needed.

Surely there may be weak spots somewhere. I would like suggestions about it. Share your thoughts if you want to. Let's get better coding together! =)

0.0.1

Initial release of CakeCORED with basic functions and concepts.

1.0.0

Debug change functionality working properly and code design revised for new implementations.

1.2.0

Database functionality operational, but limited.

cake-cored's People

Contributors

crhraphael avatar curtisgibby avatar

Stargazers

Gustavo 'Gus' Carreno avatar Christian Quispe H avatar

Watchers

Gustavo 'Gus' Carreno avatar James Cloos avatar Leonardo Campos avatar

Forkers

imdad

cake-cored's Issues

Please add support for /config/app_local.php

Hi there,

Could you please detect if the file /config/app_local.php is present and the report on those configurations, instead of ONLY reporting on /config/app.php?

Many, many thanks in advance!

Cheers,
Gus

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.