Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,225 members, 7,957,520 topics. Date: Tuesday, 24 September 2024 at 02:03 PM |
Nairaland Forum / Science/Technology / Programming / How It Feels Like To Learn Javascript In 2016 (6573 Views)
Where Can I Learn Javascript In Ilorin? / Javascript In Pidgin!!! / How It Feels To Learn Javascript In 2016 (2) (3) (4)
(1) (2) (3) (4) (Reply) (Go Down)
Re: How It Feels Like To Learn Javascript In 2016 by Nobody: 5:33pm On Oct 26, 2016 |
jidez007:Aha, so i am not the only person to see that he was deviating off the main topic. |
Re: How It Feels Like To Learn Javascript In 2016 by jidez007: 5:40pm On Oct 26, 2016 |
dhtml18:The guy na learner jare. I will just advise him to take his time, I was also like that some years ago when I started. |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 6:41pm On Oct 26, 2016 |
guru01:Thank you my brother! Data binding ooo, directives oo, dependency injection oooo... all ends up with dependency injection. Simples!! |
Re: How It Feels Like To Learn Javascript In 2016 by jidez007: 6:46pm On Oct 26, 2016 |
vankaid: |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 7:11pm On Oct 26, 2016 |
dhtml18:LOL.. Please I would like to know hwere you think I do not know what I am talking about. We are all here to learn. Meanwhile I completely understand why you say what you say and I decided to come up with a simple code that displays posts returned from a remote rest call. You can also search the posts with live results all accomplished with just few lines of html and js. My html is 9 lines while angularjs is 10. This is one of the most basic angularjs demo and when we take it up a step further one can see many reasons why dont start comparing the two mainly because they are not built alike. These lines can be even reduced to like 6 if i wasnt looking for legibility. Note that you can still do the same thing with jquery BUT I challenge anyone to come up with this same page with just 10 lines of jquery code. If need be, I will aslo demonstrate some part of angular functionality which will prove near impossibility in jquery. We can take it up a notch as this progresses. Lets spice up this board a bit! The link is here: https://jsfiddle.net/5n2jxwyz/2/ Meanwhile my aim of posting the code is because I am sure many people are following and someone who (like me a few months ago) doesnt want to get caught up in the madness of JavaScript frameworks and libraries might find a reason why he will port a project to angular. I did so myself and even though not all projects are meant for js frameworks, many are exactly what they should be built on. |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 7:18pm On Oct 26, 2016 |
jidez007: Sorry, I meant it all ends up with DOM manipulation. |
Re: How It Feels Like To Learn Javascript In 2016 by Nobody: 7:47pm On Oct 26, 2016 |
Ahan, e be like say we wan start war for this thread, FYI, i no sabi how to code o - my coding skills are DEPRECATED. In short, I am no better than SEUN-THOMAS at the moment, the only thing I can run is my mouth. @vancaid, make i talk true, i no even fit understand this your JS fiddle. |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 8:02pm On Oct 26, 2016 |
dhtml18:Na waa oo.. lol why naa? Abi make I explain am? |
Re: How It Feels Like To Learn Javascript In 2016 by Nobody: 8:52pm On Oct 26, 2016 |
Even if you explain sef, i no go fit understand, recession don catch up with me. Even my laptop screen don dim - recession don catch am. |
Re: How It Feels Like To Learn Javascript In 2016 by Olumyco(m): 9:07pm On Oct 26, 2016 |
vankaid: Vankaid no b fight now..... I asked those questions because of what u said that the primary function of Angular is DOM Manipulation..... Well in a way I can say I get ur perspective but I have a big problem with ur disposition as regards not trying to get one's explanation of sometin and also ur perspective abt d tin to me looks somehow. I am somebody that loves to understand something very deeply even if it will take time.I don't know for any other person... In fact one of the strongest point of these MV* frameworks is that irrespective of DOM change the data binded to it is not affected and most especially if it is accompanied by a template... I don't know if u actually went thru the links I posted or try to google it urself... probably I would av hear ur own side of it and then reach conclusion. To me DOM is rooted in the formating information of html doc which are elements/attributes and Data is rooted in the content information of html.... which are the contents seen. I know that DOM manipulation is all about how u can u can handle elements/attributes and Data Binding is all about how u you can bind data between javascript and html DOM.... and that is why some pple sometimes call it Data Manipulation... Well all these terms might not be necessary for many pple because the way each of us learn and understand tins are different.... and what matter to Mr A might not matter to Mr B. I quite know the periods it took me to figure out the purpose of these MV* frameworks.... So I know myself and u don't av to bother much about what matters to me.... I believe I know what I am saying and U know what U r saying..... so no problem and if I may get U both jquery and angular do DOM Manipulation but differently.... so data binding still ends up leading to DOM Manipulation.... But my question is for a framework like Angular that does two way data binding meaning there can be data binded to the view from the model and vice versa so now if data changes in the model because of changes in the view what would U call dat? Even the changes to the view from the model is not changing the DOM but the data held by the DOM. Well d way I see what's happening there might be different from urs so no problem and if I av offended u accept my apology.... Shalom |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 9:08pm On Oct 26, 2016 |
dhtml18:If recession do you wetin e de do me you no go even get anything wey dem de call laptop |
Re: How It Feels Like To Learn Javascript In 2016 by Olumyco(m): 9:10pm On Oct 26, 2016 |
vankaid: Vankaid no b fight now..... I asked those questions because of what u said that the primary function of Angular is DOM Manipulation..... Well in a way I can say I get ur perspective but I have a big problem with ur disposition as regards not trying to get one's explanation of sometin and also ur perspective abt d tin to me looks somehow. I am somebody that loves to understand something very deeply even if it will take time.I don't know for any other person... In fact one of the strongest point of these MV* frameworks is that irrespective of DOM change the data binded to it is not affected and most especially if it is accompanied by a template... I don't know if u actually went thru the links I posted or try to google it urself... probably I would av hear ur own side of it and then reach conclusion. To me DOM is rooted in the formating information of html doc which are elements/attributes and Data is rooted in the content information of html.... which are the contents seen. I know that DOM manipulation is all about how u can u can handle elements/attributes and Data Binding is all about how u you can bind data between javascript and html DOM.... and that is why some pple sometimes call it Data Manipulation... Well all these terms might not be necessary for many pple because the way each of us learn and understand tins are different.... and what matter to Mr A might not matter to Mr B. I quite know the periods it took me to figure out the purpose of these MV* frameworks.... So I know myself and u don't av to bother much about what matters to me.... I believe I know what I am saying and U know what U r saying..... so no problem and if I may get U both jquery and angular do DOM Manipulation but differently.... so data binding still ends up leading to DOM Manipulation.... But my question is for a framework like Angular that does two way data binding meaning there can be data binded to the view from the model and vice versa so now if data changes in the model because of changes in the view what would U call dat? Well d way I see what's happening there might be different from urs so no problem...... I can say its all fun & it also helped me to get sometins and if I av offended u accept my apology.... Shalom |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 9:25pm On Oct 26, 2016 |
Olumyco:P.S Even though i neednt click on the links you sent, I still did. You are not making a lot of sense here and i mean it in a most repectful manner. I think your understanding of DOM manipulation is completely warped. Whether you did data binding like in angular or you called an element selector like in jquery to alter the DOM it remains DOM manipulation. Lets say you binded the class of a <p> element to an input box ng-model and typing something like "true" for example inside the input box alters the class of the <p> element, please tell me, what did you just achieve. Again , what is the result of ng-repeat within the <ol> in the fiddle example i posted earlier called? Arent they all DOM manipulation? I dont even know how to follow this your argument sef. |
Re: How It Feels Like To Learn Javascript In 2016 by guru01(m): 9:28pm On Oct 26, 2016 |
That fiddle can be written in jq. |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 9:42pm On Oct 26, 2016 |
guru01:Agreed. Completely! Then do it in 10 lines with the html in 9. |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 9:46pm On Oct 26, 2016 |
jidez007:LOL. Shebi you see how I conveniently chose to ignore all your misyarns. Kontinuu! |
Re: How It Feels Like To Learn Javascript In 2016 by guru01(m): 9:47pm On Oct 26, 2016 |
vankaid:I will tomorrow. |
Re: How It Feels Like To Learn Javascript In 2016 by Olumyco(m): 10:17pm On Oct 26, 2016 |
vankaid: Ok that's good.... I got the message and thanks Both do DOM Manipulation but differently with different aim and the result and the behaviour on the view is quite different too... Well I can say I have problem with the statement 'the pry function of Angular is DOM Manipulation.... which to me looks somehow'... And the issue of jquery and angular actually made to want to separate concerns based on purpose. Well with this having got the idea, to me it's not all the time that data binding result to DOM Manipulation especially when view change will lead to Model change or when u r doing filtering and other stuffs.... so to me I don't think it is right to say the pry function of Angular is DOM Manipulation.... and if Angular does all types of DOM Manipulation in the name of its pry function then there wouldn't av been need for jqlite or for someone to still be using jquery with other MV* frameworks... Thanks.... |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 11:52am On Oct 27, 2016 |
Olumyco:Please attempt to quote me correctly and then after that I dont think your admissions and are clear enough. You should make it clear that you previously got the understanding of what DOM manipulation is wrongly. You posted more than 5 links to prove it and some of your posts are still up here. Now as for jqlite, it is for people who wants to use jquery with angular. I dont see what that has got to do with definition of DOM manipulation. |
Re: How It Feels Like To Learn Javascript In 2016 by Nobody: 11:56am On Oct 27, 2016 |
Una still dey fight for here? elsewhere, people are sharing Nigerian LOOT. |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 5:40am On Oct 28, 2016 |
dhtml18:I been think say u wan see code. Code don come ooo. But joke aside, do you still think I dont know what I am saying? |
Re: How It Feels Like To Learn Javascript In 2016 by Nobody: 6:11am On Oct 28, 2016 |
^^^I am not doubting your technical expertise, I was just concerned that you were distracting the thread in another direction. Me, i no sabi code again o, recession don overtake my coding skills. |
Re: How It Feels Like To Learn Javascript In 2016 by guru01(m): 10:15am On Oct 28, 2016 |
vankaid:https://jsfiddle.net/jguru/d7qu2zc4/17/ |
Re: How It Feels Like To Learn Javascript In 2016 by guru01(m): 2:01pm On Oct 28, 2016 |
Wetin they worry this flat head botti, how can it do me strong thing buy posting an ordinary link. Seun pls teach your botti how to be intelligent. Here is the web link jare. https://jsfiddle.net/jguru/d7qu2zc4/18/ |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 8:32am On Oct 29, 2016 |
guru01:14 lines is pretty impressive. Meanwhile, I would have thought the botti should be cone-headed since Ok, back to angular/jquery can we do one more examples ie take it up a notch? |
Re: How It Feels Like To Learn Javascript In 2016 by Nobody: 12:39pm On Oct 29, 2016 |
Just what is going on here, what is all these about cone-heads and flat-heads? you guys are turning this to the politics and tribal boards. I think one of the things that can help us in coding faster is for all the flat and cone-heads to come together and provide us with a language that we can write in our local dialects. |
Re: How It Feels Like To Learn Javascript In 2016 by guru01(m): 6:20pm On Oct 29, 2016 |
dhtml18:Lol, you can take the lead on this one. vankaid: How do you mean? |
Re: How It Feels Like To Learn Javascript In 2016 by Ceekay212: 8:24pm On Oct 29, 2016 |
Couldn't read this shit...itz 2016 so??....TEAM Jquery! |
Re: How It Feels Like To Learn Javascript In 2016 by jboy01(m): 9:31am On Oct 30, 2016 |
na wa for you people o. you both are making sence from your post, just that you did not undastand each other. anyway, I will advise you to stop reading each other post while your phone or laptop is turn upside down, may be that will make you undastand better. |
Re: How It Feels Like To Learn Javascript In 2016 by vankaid: 12:24pm On Oct 30, 2016 |
guru01:I mean like another example where I will win hands down. I think I won this one with just a slight margin and I didnt feel so good about it... |
Re: How It Feels Like To Learn Javascript In 2016 by guru01(m): 2:55pm On Oct 30, 2016 |
vankaid:No you didn't win, because I have lesser HTML code than you. |
Re: How It Feels Like To Learn Javascript In 2016 by ysd01(m): 2:56pm On Oct 30, 2016 |
vankaid:Yeeah, and having loose coupling with high cohesion makes it obedient to some software engineering concepts. |
Olode - An Indigenous HTML5 Game / Shoplog V2.3 (Inclusion of license fee) / In Need Of Help Working With Niit Degree...please Help
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 64 |