• #32156
    Forcetalks

    Is Lightning an Mvc Framework?

    Is Lightning an MVC Framework?

     

    #32158
     Prachi #9
    Forcetalks

    Hi Avnish,

    No, it’s a component-based framework.

    thanks.

    #34580
    Salesforce | shariq shariq #1
    Forcetalks

    Hi,

    The lightning framework follows “Component-Based Architecture”, but it is based on web standards like (JS, HTML5, CSS3) and usesMVC/event-driven programming techniques.

    To add more –

     

    It’s beneficial to understand that Lightning Components are object oriented in nature, and have similar behavior to and characteristics of classes. Components have encapsulated presentation (markup), data state (attributes), logic (JavaScript functions), and style (CSS rules).

    The public interface (or shape) is represented by a component’s attributes, which are analogous to member variables of a class. Each attribute is declared with a data type for the value it will reference, and may be accessed from within the component’s markup or encapsulated JavaScript.

    Lightning Attributes, which are expressed as tags in a component’s markup, have a collection of available named attributes such as name, type, description, required and access. That last one determines the attribute’s scope, acting as an access modifier with the values public (the default), private, or global.

    Hope this helps.

    #34592
    Salesforce | Parul Parul #2
    Forcetalks

    Hi

    In a word, no. There are similarities, to be sure, but it would be more correct to say that Lightning Components is View-Controller-Controller-Model, or perhaps View-Controller-Controller-Database.

    These are Naming Rules in Salesforce Lightning
    • Must begin with a letter
    • Must contain only alphanumeric or underscore characters
    • Can’t end with an underscore

Viewing 4 posts - 1 through 4 (of 4 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2018 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?