Thursday, 27 December 2018

what is metadata ?

Metadata :
===========

what is it ?

Metadata is persisted information that describes your application's functionality and representation.And metadata is at the core of the force.com platform.

In a more traditional development environment,developers use code either interpreted or compiled.And when executed, it determines the behaviour of an application.

Force.com uses a dynamic engine -- we'll call it the Kernel-- that reads any org's metadata that identifies how the application behavior and appearance is configured.

1. metadata distinguishes any force.com application from any other.
2.Developer have control major portions of metadata and are,therefore, able to customize their applications.
3.A sales force instance,or org,is nothing more than a container for metadata,as well as business data.

what does it do ?

1.metadata describes your org and describes your applications.
2.metadata describes your data and logic.

Everything in your org is described in metadata,from objects in fields, to declared business rules,workflow, reports and security permissions, even your Apex code and Visual force
pages,pretty much everything.

3.metadata drives the engine and as the kernel generates application components from metadata at run time, it forms the foundation of any instance in the platform's multi-tenant
infrastructure.

so metadata controls all aspects of what the platform offers. without metadata,there could be no
multi-tenant paradigm.

4.Every tenant on the platform can maintain their own set of partition metadata,the multi-tenant Kernel can serve multiple applications of varying data structure,with varying look and feel,and varying business logic in a completely decoupled and scalable manner.

5.Only the generic database,resources,and core logic of the kernel are shared.Everything about tenant applications is dynamic,driven by the metadata.

what does it look like ?

we don't really know.Like most elements of the force.com, the abstraction layers hide and protect much of what's in the cloud.That's their job.

The physical database tables that store the actual metadata in rows and columns are not accessible to developers.

However,much of the metadata is visible through developer tools and via the APIs.

When you connect your force.com org to the force.com IDE,you can download metadata and store it in files on your hard disk.The IDE allows you to modify the files and push them back up to
your org.

Most metadata objects represent in  XML structures.Apex and Visualforce also appear as traditional programming language code.Although,you'll find they're also tied to XML content as well.

How do I manage it?

Most non-programmers depend on the setup menu to declaratively configure the metadata in point and click wizards. it the fastest and most efficient way to perform much of the configuration.

ways to get metadata :
======================
1.The metadata API,one of the many platform web services, allows developers to perform crud operations on metadata, effectively allowing you to program your applications by managing data
operations.

2.The force.com IDE and force.com migration kit, which are both built on top of the API,are just two tools that let developers manage metadata.

Note :
Now keep in mind,that while a lot of metadata is accessible to you,other metadata is not necessarily even visible.There also exists metadata that is managed behind the scenes that you can't change even though you might be able to see it.

No comments:

Post a Comment