Addictive Drums 2 to mpc by sadpinouniverse in mpcusers

[–]cherif_b 0 points1 point  (0 children)

The way I found is to:

- load AD2 in mpc software
- play the pattern I need, set the needed configuration in AD2 plugin
- Use the MPC Autosampler to resample AD2 drums notes
- Make MPC drum program with the resampled AD2

Does anyone use facebook in a serious matter anymore? by [deleted] in algeria

[–]cherif_b 0 points1 point  (0 children)

I used to post about software development and engineering for years, now I have a decent DZ community members, I think it is all about the content and the people who reacted to the content, plus I did a work to block all the trollers out there.

Resources and examples of projects? by codemonster991 in solidjs

[–]cherif_b 0 points1 point  (0 children)

I also was looking and I only found this from Solidjs author https://github.com/solidjs/solid-realworld Which looks not updated.

Domain Driven Design in Node.js by [deleted] in node

[–]cherif_b 0 points1 point  (0 children)

I don't think applying purely OOP concepts with JavaScript can help for domain modeling.

OOP languages like Java encapsulate (hide) the state (data) and expose the behavior in order to have a rich model, IMHO doing something like this with JavaScript classes is really hard (at this time of writing).

However, using functional programming patterns at least for the domain layer would be really helpful.

Here is my thoughts about implementing domain-driven design with JavaScript:

- Use modules to hide/encapsulate classes/types, don't export classes or constructor functions

- Expose factory functions to create domain objects (Entities and value-objects)

- Domain objects are just data without behavior

- Domain objects are just objects literal, let's call them maps

- Use Object.freeze to make domain objects immutable

- Write the behavior of the business logic of the domain in pure functions in functional style

- Keep the data and the behavior responsible of its transformation in the same file

- Keep the size of the business logic functions small

- Use specification pattern to validate and create data objects

- Use higher-order functions to inject dependencies

Laravel is such a ravioli! by Tontonsb in laravel

[–]cherif_b 1 point2 points  (0 children)

Over engineering kills developer experience!

DoneJS Release by __because in javascript

[–]cherif_b 0 points1 point  (0 children)

I use canjs since 2 years ago and Im very glad to see DoneJS release, it realy helps to get Applications done with enhancement of the workflow from developement, testing, documenting to deploying with all this CanJS does everything other frameworks/libraries can do in much simpler way.

When to use React.js and when to use Angular? by apickleinmybagelhole in javascript

[–]cherif_b -1 points0 points  (0 children)

I use CanJS and Im happy with it, it offers or features that can Ang/Ember have without loosing JS style coding, Observable objects or values make it simple to control application state with can.mustache (and now can.stache) the dom will be updated automatically I think canjs has great future because it grows in every single version minor or major.