Git Product home page Git Product logo

jymfony's Introduction

Tests - Linux Tests - Windows/macOS Scrutinizer Code Quality Code Coverage FOSSA Status

Jymfony is a Node.js framework for applications and a set of reusable Javascript components. Jymfony was born from an idea of Alessandro Chitolina as a port of the popular PHP framework, Symfony.

Requirements

  • Node.js >= 10.0

Installation

You can also install Jymfony via npm:

$ npm install jymfony

Basic usage

You can find a fully working base example project here.

Components available:

As said, Jymfony is made of reusable Javascript components:

Each component has its own README.md, you can read more about those there.

Also, it comes with some DataStructures. With Jymfony you can declare:

  • interfaces
class ThisIsAnInterface {
    // ...
}

module.exports = getInterface(ThisIsAnInterface);
  • traits
class ThisIsATrait {
    // ...
}

module.exports = getTrait(ThisIsATrait);

Testing

In order to test Jymfony, just run:

$ yarn test

Contributing

Contributions are welcome. Feel free to open a PR or file an issue here on GitHub!

License

Jymfony is licensed under the MIT License - see the LICENSE file for details

About Us

The Jymfony team:

The logo is an artwork made by Daniele Tognetti

jymfony's People

Contributors

alekitto avatar fossabot avatar massimilianobraglia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

jymfony's Issues

[Console] ConfirmationQuestion

A special Question sub-class that accepts y, n, yes or no answers and returns a boolean accordingly could be useful.
This should be an easy one.

[util] Handle and dedupe deprecation warnings

Deprecation warnings should be collected and de-duplicated (at least not printed out multiple times).

At the moment we rely on node default behavior for process warnings (emitting on stderr), but this can be overridden registering a listener through process.on('warning', ...).

Error while instantiating a Command

Once declared as a service a Command (obviously an extension of Jymfony.Component.Console.Command.Command) and tried to retrieve the command from Container::get('my_command_id'), the following exception is thrown.

LogicException: Command class "Jymfony.Component.Console.Command.Command" is not correctly initialized. You probably forgot to call the parent constructor.

It seems that base javascript constructor is not called.

[Improvement] mix with param `undefined`

Using mix(undefined) leads to a TypeError: b is not a function which is not so verbose.
Throwing a custom exception that explains better the error would help the developer :)

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.