<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic &amp;quot;Thinking in AngularJS&amp;quot; if I have a jQuery background? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/quot-Thinking-in-AngularJS-quot-if-I-have-a-jQuery-background/m-p/83553#M52704</link>
    <description>&lt;P&gt;Suppose I'm familiar with developing client-side applications in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://jquery.com/" target="_blank" rel="noopener noreferrer"&gt;jQuery&lt;/A&gt;, but now I'd like to start using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://angularjs.org/" target="_blank" rel="noopener noreferrer"&gt;AngularJS&lt;/A&gt;. Can you describe the paradigm shift that is necessary? Here are a few questions that might help you frame an answer:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I architect and design client-side web applications differently? What is the biggest difference?&lt;/LI&gt;&lt;LI&gt;What should I stop doing/using; What should I start doing/using instead?&lt;/LI&gt;&lt;LI&gt;Are there any server-side considerations/restrictions?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm not looking for a detailed comparison between&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;jQuery&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;AngularJS.&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jul 2022 09:16:10 GMT</pubDate>
    <dc:creator>FramJamesgot</dc:creator>
    <dc:date>2022-07-28T09:16:10Z</dc:date>
    <item>
      <title>"Thinking in AngularJS" if I have a jQuery background?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/quot-Thinking-in-AngularJS-quot-if-I-have-a-jQuery-background/m-p/83553#M52704</link>
      <description>&lt;P&gt;Suppose I'm familiar with developing client-side applications in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://jquery.com/" target="_blank" rel="noopener noreferrer"&gt;jQuery&lt;/A&gt;, but now I'd like to start using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://angularjs.org/" target="_blank" rel="noopener noreferrer"&gt;AngularJS&lt;/A&gt;. Can you describe the paradigm shift that is necessary? Here are a few questions that might help you frame an answer:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;How do I architect and design client-side web applications differently? What is the biggest difference?&lt;/LI&gt;&lt;LI&gt;What should I stop doing/using; What should I start doing/using instead?&lt;/LI&gt;&lt;LI&gt;Are there any server-side considerations/restrictions?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm not looking for a detailed comparison between&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;jQuery&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;AngularJS.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2022 09:16:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/quot-Thinking-in-AngularJS-quot-if-I-have-a-jQuery-background/m-p/83553#M52704</guid>
      <dc:creator>FramJamesgot</dc:creator>
      <dc:date>2022-07-28T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: "Thinking in AngularJS" if I have a jQuery background?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/quot-Thinking-in-AngularJS-quot-if-I-have-a-jQuery-background/m-p/83564#M52711</link>
      <description>&lt;P&gt;BOT ALERT:&lt;/P&gt;&lt;P&gt;I believe this style of post is a "Build a reputation" style. In this method, a bot builds a 'reputation' by asking seemingly good questions (although perhaps a bit off topic for authorize.net), thus ranking it as more knowledgeable or interesting to algorithms. There's a good chance these are actually copied from other real users elsewhere.&lt;/P&gt;&lt;P&gt;Then later, I expect it will post an actual spam/scam post.&lt;/P&gt;&lt;P&gt;I could be completely wrong though.&lt;/P&gt;&lt;P&gt;It just seems WEIRD that someone would post that post (basically asking for generic help comparing angularJS to jQuery) within the authorize.net [integrations] forum. There are MUCH BETTER places to ask those questions. Even searching Google would probably yield better results.&lt;/P&gt;&lt;P&gt;Authroiz.net, any chance you can start policing these forums to keep posts on-topic?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jul 2022 15:16:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/quot-Thinking-in-AngularJS-quot-if-I-have-a-jQuery-background/m-p/83564#M52711</guid>
      <dc:creator>natesutherland2</dc:creator>
      <dc:date>2022-07-29T15:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: "Thinking in AngularJS" if I have a jQuery background?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/quot-Thinking-in-AngularJS-quot-if-I-have-a-jQuery-background/m-p/83757#M52823</link>
      <description>&lt;P&gt;This a little messy and a trifle frail. But in AngularJS, we can do this:&lt;/P&gt;&lt;PRE&gt;$http( &lt;SPAN class=""&gt;'/myEndpoint.json'&lt;/SPAN&gt; ).&lt;SPAN class=""&gt;then&lt;/SPAN&gt;( &lt;SPAN class=""&gt;function&lt;/SPAN&gt; (&lt;SPAN class=""&gt; response &lt;/SPAN&gt;) {
    $scope.&lt;SPAN class=""&gt;log&lt;/SPAN&gt;.&lt;SPAN class=""&gt;push&lt;/SPAN&gt;( { &lt;SPAN class=""&gt;msg&lt;/SPAN&gt;: &lt;SPAN class=""&gt;'Data Received!'&lt;/SPAN&gt; } );
});&lt;/PRE&gt;&lt;P&gt;And our view can look like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;ul&lt;/SPAN&gt; &lt;SPAN class=""&gt;class&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"messages"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;li&lt;/SPAN&gt; &lt;SPAN class=""&gt;ng-repeat&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"entry in log"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;{{ entry.msg }}&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;li&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;ul&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;But for that matter, our view could look like this:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;div&lt;/SPAN&gt; &lt;SPAN class=""&gt;class&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"messages"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;div&lt;/SPAN&gt; &lt;SPAN class=""&gt;class&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"alert"&lt;/SPAN&gt; &lt;SPAN class=""&gt;ng-repeat&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"entry in log"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
        {{ entry.msg }}
    &lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;div&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;div&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;And now instead of using an unordered list, we're using Bootstrap alert boxes. And we never had to change the controller code! But more importantly, no matter&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;where&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;how&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;the log gets updated, the view will change too. Automatically. Neat!&lt;/P&gt;&lt;P&gt;Though I didn't show it here, the data binding is two-way. So those log messages could also be editable in the view just by doing this:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&amp;lt;input ng-model="entry.msg" /&amp;gt;. And there was much rejoicing.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In jQuery, the DOM is kind of like the model. But in AngularJS, we have a separate model layer that we can manage in any way we want, completely independently from the view. This helps for the above data binding, maintains&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="http://en.wikipedia.org/wiki/Separation_of_concerns" target="_blank" rel="noopener noreferrer"&gt;separation of concerns&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; &lt;A href="https://e-chats.com/omegle" target="_blank" rel="noopener"&gt;/echat&lt;/A&gt;&lt;A href="https://chatspin.download" target="_blank" rel="noopener"&gt;spin&lt;/A&gt; and introduces far greater testability. Other answers mentioned this point, so I'll just leave it at that.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 08:07:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/quot-Thinking-in-AngularJS-quot-if-I-have-a-jQuery-background/m-p/83757#M52823</guid>
      <dc:creator>FramJamesgot</dc:creator>
      <dc:date>2022-08-12T08:07:40Z</dc:date>
    </item>
  </channel>
</rss>

