Giter VIP home page Giter VIP logo

easy-code-manager's Introduction

FluentSnippets ๐Ÿš€

The High-Performance Code Snippet Plugin for WP


Website | Download From WordPress

Features

  • File-based Snippets (0 Database Query) ๐Ÿš€
  • Custom Code Snippets (PHP/HTML/CSS/JS)
  • Advanced Conditional Logic
  • Automatic Error Handling
  • Custom Shortcode
  • Stand-alone Mode (keep running your snippets in stand-alone mode. No lock-in, use it whenever you want.)

Why do we build FluentSnippets?

Long story short, we manage many websites for our products and these are mostly content sites, our content team sometimes needs to add custom functionality for content placement and dynamic content blocks and we need a code snippets plugin as we manage our WP files via Git. We tried to use almost all the existing code snippets plugins and could not choose a single one because of the design decision these plugin authors made. Please read the full post to understand why we had to build a better solution to use our own.

Design of FluentSnippets

Design of FluentSnippets

You see, the design is super simple and this is what it should be! FluentSnippets stores the code snippets in the flat file and uses code blocks in each snippet file to add metadata like a description, title, conditional logic, snippet type, and other things. We also parse these data once and cache these into index.php so we donโ€™t have to parse these code blocks in every request. Then on runtime, it just includes those files to your selected action hook. In the whole process, FluentSnippets runs 0 database queries. In fact, we donโ€™t have any Database query in the whole plugin runtime.

With this native design, FluentSnippets is native, secure by design, and the most performant code snippets in this category.

The code editor

The code editor of FluentSnippets is simple. We have used codemirror javascript library to add the code editor. It does not have advanced features like auto-complete. Code Editor

Future of FluentSnippets

Every plugin we build, we aim to solve problems for businesses and add immerse values. We are releasing FluentSnippets with the same goal and vision. We will continue imrove, innovate add features the community wants. Few things we are going to add in the next few weeks in this website

  • Code Snippets Library powered by the community and plugin authors
  • Community Forum for Support and discussions
  • Improve the Code Editor to support auto-complete
  • Adding more snippet locations
  • Adding more conditional logics

You are more than welcome to contribute to the code or the documentation. Or helping us by recommending this to your friends and community. Together, letโ€™s make the WordPress more powerful and secure.

How to build

  • npm install
  • npx mix watch - For development
  • npx mix --production - For Production

easy-code-manager's People

Contributors

techjewel avatar calvinalkan avatar

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.