<?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>Question Re: Component Vs Controller and Views in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaa-p/699079#M189334</link>
    <description>&lt;P&gt;A "component", in terms of UI5, usually represents an &lt;EM&gt;application&lt;/EM&gt; with the focus on a specific user role / use case.&lt;/P&gt;&lt;P&gt;In addition, you can describe and assign:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Data sources&lt;/LI&gt;&lt;LI&gt;Models&lt;/LI&gt;&lt;LI&gt;Root view&lt;/LI&gt;&lt;LI&gt;Navigation + involved child views&lt;/LI&gt;&lt;LI&gt;Extensions&lt;/LI&gt;&lt;LI&gt;Child components&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;... and many other application specific settings &lt;STRONG&gt;declaratively&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Without a component, you'd have to do it all manually somewhere in the controller.&lt;BR /&gt;Plus, it lets tools analyze and highly optimize your application in the build time.&lt;/P&gt;&lt;P&gt;Encapsulating the application assets enables us to reuse them as a group separately from other assets, such as when defining child components. See &lt;A href="https://stackoverflow.com/a/46358895/5846045" target="_blank"&gt;Component reuse in manifest.json&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;For more information, please go through the topic &lt;A href="https://ui5.sap.com/#/topic/dc9e11c3889441429a60ee871da6f3cb" target="_blank"&gt;Structuring: Components and Descriptor&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Dec 2018 00:39:03 GMT</pubDate>
    <dc:creator>boghyon</dc:creator>
    <dc:date>2018-12-04T00:39:03Z</dc:date>
    <item>
      <title>Component Vs Controller and Views</title>
      <link>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaq-p/699076</link>
      <description>&lt;P&gt;Why do we have to go for Component.js when Controller and View serves the same purpose? What is the advantage of wrapping up the UI fields into a component?&lt;/P&gt;
  &lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 04:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaq-p/699076</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-11-28T04:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Component Vs Controller and Views</title>
      <link>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaa-p/699077#M189332</link>
      <description>&lt;P&gt;Component and controller-views &lt;STRONG&gt;do not&lt;/STRONG&gt; serve the same purpose. Views are just to declare the UI controls, controllers typically react to view events and user interactions on the screen and act as an interface between the model and view. &lt;/P&gt;&lt;P&gt;Components on the other hand are independent and reusable entities that encapsulate all the UI assets within an application. Components allow the application to be used in more flexible environments like on a Fiori Launchpad, unlike the static index.html page.&lt;/P&gt;&lt;P&gt;Refer &lt;A href="https://help.sap.com/doc/erp_hcm_ias2_2014_02/2.0.1/en-US/95/8ead51e2e94ab8bcdc90fb7e9d53d0/content.htm?no_cache=true"&gt;SAPUI5 Components&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 05:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaa-p/699077#M189332</guid>
      <dc:creator>saurabh_vakil</dc:creator>
      <dc:date>2018-11-28T05:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Component Vs Controller and Views</title>
      <link>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaa-p/699078#M189333</link>
      <description>&lt;P&gt;Can you please explain how can we reuse the component and also, what are the advantages of encapsulating the UI assets into a component.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 05:27:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaa-p/699078#M189333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-11-28T05:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Component Vs Controller and Views</title>
      <link>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaa-p/699079#M189334</link>
      <description>&lt;P&gt;A "component", in terms of UI5, usually represents an &lt;EM&gt;application&lt;/EM&gt; with the focus on a specific user role / use case.&lt;/P&gt;&lt;P&gt;In addition, you can describe and assign:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Data sources&lt;/LI&gt;&lt;LI&gt;Models&lt;/LI&gt;&lt;LI&gt;Root view&lt;/LI&gt;&lt;LI&gt;Navigation + involved child views&lt;/LI&gt;&lt;LI&gt;Extensions&lt;/LI&gt;&lt;LI&gt;Child components&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;... and many other application specific settings &lt;STRONG&gt;declaratively&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Without a component, you'd have to do it all manually somewhere in the controller.&lt;BR /&gt;Plus, it lets tools analyze and highly optimize your application in the build time.&lt;/P&gt;&lt;P&gt;Encapsulating the application assets enables us to reuse them as a group separately from other assets, such as when defining child components. See &lt;A href="https://stackoverflow.com/a/46358895/5846045" target="_blank"&gt;Component reuse in manifest.json&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;For more information, please go through the topic &lt;A href="https://ui5.sap.com/#/topic/dc9e11c3889441429a60ee871da6f3cb" target="_blank"&gt;Structuring: Components and Descriptor&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Dec 2018 00:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/component-vs-controller-and-views/qaa-p/699079#M189334</guid>
      <dc:creator>boghyon</dc:creator>
      <dc:date>2018-12-04T00:39:03Z</dc:date>
    </item>
  </channel>
</rss>

