Pardon me for asking a basic question. I have just started looking at Salesforce development guides for a project. From my understanding so far, there are objects created through an Object Mapper called SObjects and Generic classes (created in Apex) which can be instantiated to create objects.
What is the basic difference between the two? As per my understanding:
- SObjects are mapped to a table. Generic Apex classes are not.
- SObjects can be used "in some way" to automatically define page layouts? Not sure about this yet, but saw it somewhere.
- If I were supposed to design a "Search" component and "Display" component through Lightning Experience while fetching data from an external application (residing on some internal server), I would need to talk via REST/SOAP and fetch data. Should this data be parsed to SObjects or Apex object instances? At the moment, I don't think the data needs to be stored in Salesforce actually.
Sorry if these are too silly. But I don't seem to be fully sure of all the functionalities and it's a little confusing still.
Also, is there something I am completely overlooking here?