title: SAPUI5 Create Controller Without View
body: <p>I am developing an application by using SAPUI5, Web IDE. Is it possible to create a controller without a view? Because I need a custom controller to process the logic of application before submit it to the server. </p>
  
  <p>I try to create a controller without with view. But it return me with error.</p>
  
  <p>The following is my sample code.</p>
  
  <pre><code>/*global location*/
  sap.ui.define([
      "product/controller/BaseController",
      "sap/ui/model/json/JSONModel",
      "sap/ui/core/routing/History",
      "product/model/formatter"
  ], function(BaseController, JSONModel, History, formatter) {
  
          onInit: function() {
              sap.ui.getCore().getEventBus().subscribe(
                  "SomeChannel",
                  "SomeEvent",
                  this.someFunctionOfTheFirstController,
                  this
              );
          }
  
      processLogic: function (sChannelId, sEventId, sData) {
          console.log(
              "Function of the first controller " + sData
          );
      }
  });
  </code></pre>
  
  <p>Any solution how can I fix it and to create a controller and method without a view.</p>