-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request for workshops #15
Comments
Is anyone else interested in learning JavaScript design patterns? |
MV* (model-view-whatever) On Wed, Jan 7, 2015 at 6:45 PM, Marina Kukso [email protected]
|
browserify for wizard apprentices On Wed, Jan 7, 2015 at 6:45 PM, Marina Kukso [email protected]
|
NPM magic On Wed, Jan 7, 2015 at 6:45 PM, Marina Kukso [email protected]
|
@mgruesbeck can you elaborate what you mean? A design pattern can be specific to code layout or a specific type of application, like MVC for front-end apps. The only global design pattern I use is node/commonjs require(), modularity, and a functional style. @bloodyKnuckles we will def. cover browserify and NPM, probably first week. Perhaps a course on design for front-end apps, including both of those, and MV-ish patterns. |
@NHQ Thanks for helping me clarify myself. I believe I was thinking about specific code layout or commonly repeated code patterns/design. I have read about things like "the singleton" or "the factory". I'm assuming these are good things to know and study why, when and where they are used. |
I have been writing js for many years, and I don't know what a singleton is Repeat code goes in modules, for sure, which we will begin covering this Other important concepts are the callback, and function declarations, which On Sun, Jan 11, 2015 at 12:13 PM, Melvin Gruesbeck <[email protected]
|
Every script you require in node is a singleton. Think of it as an object
|
Design patterns are not very useful in dynamic languages like javascript because with higher-order functions these ideas can be encapsulated into reusable modules. In other languages where design patterns are a big deal such as java, this is often due to the limitations of the language. For example, java doesn't have terse first-class anonymous functions with lexical scope, so java-folk will go on and on about the "visitor pattern" or the "observer pattern" but in javascript these ideas naturally follow from using higher-order functions, no design pattern required. |
Awesome, thanks for the guidance. |
@cyberwizardinstitute/participants : this is the thread where you can request a talk/workshop on a particular topic. all currently scheduled workshops are at http://cyber.wizard.institute/calendar.html. talks are being added to that list all the time, so we have room to request more talks.
@cyberwizardinstitute/owners : if you would like to fulfill someone's request, feel free to claim it on the calendar.
first request: @karenpeng has requested a talk on sorting algorithms!
The text was updated successfully, but these errors were encountered: