Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Coreon.js

Coreon.js is an advanced JavaScript framework designed for building modern web applications. It provides a robust set of features, including state management, routing, component lifecycle management, and more. This README will guide you through the installation, usage, and key concepts of the framework.

Table of Contents

Installation

To install Coreon.js, you can use npm:

npm i @honeyjsadmin/coreon

Getting Started

To start using Coreon.js, import the framework in your JavaScript file:

import Coreon from 'coreon.js';

// Initialize the framework
const app = new Coreon();

Core Concepts

Event Bus

Coreon.js includes an event bus for managing communication between components. You can publish and subscribe to events easily.

State Management

The framework provides a state manager to handle application state. You can get, set, and update state seamlessly.

Routing

Coreon.js has a built-in router for managing navigation between different views or components.

Components

Define your components using the base component class provided by Coreon.js. Utilize lifecycle methods for managing component behavior.

Plugins

Extend the functionality of Coreon.js by creating and using plugins.

Utilities

Coreon.js comes with a set of utility functions for common tasks, such as DOM manipulation, AJAX requests, and data validation.

Hooks

Use custom hooks to manage state and side effects in your components.

Directives

Coreon.js supports directives for conditional rendering, list rendering, and two-way data binding.

Mixins

Create reusable functionalities with mixins, such as draggable and resizable components.

Services

Coreon.js provides services for API interactions, authentication, caching, and notifications.

Adapters

Use adapters for handling different communication protocols, such as HTTP and WebSocket.

Themes

Customize the look and feel of your application with themes.

Localization

Coreon.js supports multiple languages, allowing you to localize your application easily.

Testing

Unit tests are provided for core functionalities and utilities to ensure reliability.

Examples

Check the examples directory for basic and advanced usage examples of Coreon.js.

Contributing

Contributions are welcome! Please submit a pull request or open an issue for any enhancements or bug fixes.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

About

JavaScript framework used for the web.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages