function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NikithaNikitha 

Hii , I'm new to salesdorce. i have a question, Is salesforce used for backend or front end or both

SwethaSwetha (Salesforce Developers) 
Hi Swathi,
Salesforce supports both front end and backend development. Several out the box functionalities are provided using which you can achieve requirement using point and clicks.

Visualforce Pages- Views that the user sees. Can leverage HTML, Javascript, CSS, etc, along with some additional Salesforce.com-specific tags. Also allows binding to/from Apex controllers.
Apex - Language similar to Java written to back Visualforce controllers or do business logic. This gets compiled and saved as metadata in database tables, and then executed on-demand via user input.
SOQL/SOSL - The query language

Database  : SOQL.SOSL
UI = Visulaforce pages(similar to html) , In VF pages you can use HTML,CSS,Jacasript,Jquery
Programming languages = Apex (Similar to java)
Lightning pages(In lightning we are using all web technologies along with lightning tags).

I recommend doing the trailhead module that explains Salesforce Architecture. https://trailhead.salesforce.com/en/content/learn/v/modules/starting_force_com/starting_understanding_arch

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
Malika Pathak 9Malika Pathak 9

Hi Swathi,

 

YES Salesforce app works both on the server-side and create user interfaces

Basic aspects of Salesforce development:-


Back-end development-
For server-side development, Salesforce app developers use Apex, a strongly-typed object-oriented programming language with syntax similar to Java. Apex code (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_shopping_cart_example_code.htm) is stored in the format of classes and triggers. Salesforce also has its own data management language SOQL (https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql.htm), which is similar to SQL.
The Salesforce platform has some peculiarities that developers need to take into account. First, to deploy Apex code, its coverage by unit tests should be 75% at least. Second, the platform has limits for developers (Governor Limits) on performing certain operations. For example, it’s impossible to execute more than 100 synchronous SOQL queries in one transaction.

 

Front-end development-
User interfaces in Salesforce can be created using the Visualforce or Lightning frameworks. Visualforce is an older framework, comprising a tag-based markup language and a set of controllers. Lightning, on the other hand, is a modern framework that allows creating more INTERACTIVE USER INTERFACE (https://www.scnsoft.com/blog/salesforce-classic-vs-lightning). The framework consists of Aura Components, a Salesforce proprietary programming model, and Lightning Web Components, a JavaScript-based alternative to Aura

 

if you find this answer is helpful then mark it as the best answer.

Gary RalstonGary Ralston
Hello Nikitha,

Yes, Salesforce can be used (https://sfdcgo.com/7-ways-to-use-salesforce/) for both backend and front-end development, it's depending on the specific use case.

As a platform, Salesforce provides a range of backend services for managing data, automating business processes, and integrating with other systems. This includes its proprietary database for storing data, as well as its proprietary programming language Apex for creating custom business logic and integration with other systems.

At the same time, Salesforce also provides a range of front-end tools for building user interfaces, including the Lightning App Builder, which allows users to create custom pages and components using a drag-and-drop interface. Salesforce also provides a range of pre-built user interfaces for common business processes, such as sales, marketing and service.

So, while Salesforce is primarily known as a backend platform for managing customer data and automating business processes, it also provides a range of front-end tools for building custom user interfaces and applications.