GithubHelp home page GithubHelp logo

Comments (11)

iam4x avatar iam4x commented on August 21, 2024

Yes, I agree! We should start doing it on a new branch. But someone need to drive the project with good practices and a good software architecture

from linter.

florianb avatar florianb commented on August 21, 2024

I'm somewhat experienced in creating distributed architectures but I guess I'm not fully aware of the coffeescript/js/atom-framework capabilities. I would like to suggest creating a AtomLinter/linter-core-repository to standardize the repo-naming.

I would also like to suggest using GitHub to collaborate in the design-process - every idea to improve something is welcome. I could imagine the following tasks for the first milestone:

  • requirement for publishing: code-coverage (with karma & jasmine) != 1.0
  • full test-set for linter-core and linter-prototype (the new baseclass for linters, to be forked)
  • a toggleable, scrollable bottom-info-pane for project-based configuration, debug-reporting, release-notes and project-announcements.
  • a backward-compatibility-class "Linter", to catch up the old linters
  • the polished, transparent, hovering lint-reporter next to the cursor

from linter.

park9140 avatar park9140 commented on August 21, 2024

We need to start a branch to pull in the standard atom testing framework. They have it set up with jasmine and fully ready for integration style testing. So there shouldn't be any real difficulty testing the existing implementation.

from linter.

florianb avatar florianb commented on August 21, 2024

Yeah, we should use the existing test-infrastructure. But we should probably also consider a refactoring of the classes and their responsibilities, to make the behaviour more consise and robust.

from linter.

park9140 avatar park9140 commented on August 21, 2024

Agreed. I think our primary initial goal should be to force a solid mvc separation and get the views broken out from their controllers. The pattern for separating along these lines in most of the atom code doesn't really seem to exist. I'm still researching good methodologies for breaking it out.

from linter.

florianb avatar florianb commented on August 21, 2024

👍

In my 2nd package (gradle-ci) - i made good experience with a nearly rails approach: having a model and medium-weight views. I think it is possible to create a fully working mvc-approach if that is what we're searching for.

I'll create a discussable skeleton to let the idea become more precise.

from linter.

lijunle avatar lijunle commented on August 21, 2024

I am suggesting to use Promise/A+ pattern to replace the callback pattern. The current code is very hard to find out what is dealing with the callback.

http://promisesaplus.com

from linter.

park9140 avatar park9140 commented on August 21, 2024

Promises, yes please,
I use Q and find it very pleasing :)
https://github.com/kriskowal/q
@lijunle do you want to tackle refactoring some of the callback hell?

from linter.

hd-deman avatar hd-deman commented on August 21, 2024

+1 q

from linter.

iam4x avatar iam4x commented on August 21, 2024

I use RSVP, but I'm okey with Q ;)

That's a good direction.

from linter.

lijunle avatar lijunle commented on August 21, 2024

@park9140 , I will do it if you guys accept the code.

from linter.

Related Issues (20)

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.