Modern UI development with Lightning Components - Spanish!
-
Upload
alba-azcona-rivas -
Category
Engineering
-
view
47 -
download
1
Transcript of Modern UI development with Lightning Components - Spanish!
Modern UI development with Lightning ComponentsAlba Azcona RivasArchitecture Lead FinancialForce
@Alba_ARivas
GREAT ALONE. BETTER TOGETHER. Trabajando con Salesforce desde 2009
Salesforce compañía inversora
650+ empleados, base en San Francisco
2
Safe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, risks associated with possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal quarter. This document and others are available on the SEC Filings section of the Investor Information section of our Web site.
Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Forward looking statement
Lightning ExperienceDesarrollo basado en componentes
App BuilderAppExchange
para ComponentesConstruye y comparte
UIs responsivasConstruye aplicaciones
con drag & dropAccede a una librería de
componentes predefinidos por partners
de Salesforce
Componentes
Visualforce: "Page-Centric”
1. Navegador pide la página
Cliente Servidor
4. Navegador renderiza html
2.Servidor ejecuta código Apex3.Servidor devuelve la página (html + data)
Componentes Lightning: "App-Centric”
1. Navegador pide el componente
Cliente Servidor
3. Navegador construye la UI con JS
4. Navegador pide datos
7. Vuelta a 3
2.Servidor devuelve el bundle del componente
5. Servidor ejecuta código Apex
6. Servidor devuelve datos (sólo lo que hemos pedido!) JSON
Mostrar datos diferentes? Ir a 4Mostrar UI diferente? Ir a 3
• Permite experiencias de usuario más fluidas e interactivas
• Menos refrescos de página, menor latencia• Fácil integración con el estilo de Lightning
Experience (componentes predefinidos + Lightning Design System)
• Componentes ensamblables para crear aplicaciones
• Integrado en Developer Console + extensión chrome para debugging (Salesforce Lightning Inspector)
Componentes Lightning: "App-Centric”
DEMO
Partes de un Componente
UI MarkupData bindingAtributos
Componente
Partes de un Componente
UI MarkupData bindingAtributos
Componente
ManejadoresEventos
Controlador(js)
Partes de un Componente
UI MarkupData bindingAtributos
Componente
Manejadores Eventos
Controlador(js)Estilo
CSSencapsulado
Partes de un Componente
UI MarkupData bindingAtributos
Componente
Manejadores Eventos
Lógicacompartida
Helper(js)Estilo
CSS encapsulado
Controlador(js)
Agente de Eventos de aplicación
Event ObjectAccountFilter
<aura:handler event="c:GetAccounts" action="{!c.handleGetAccountsEvent}"/>
<aura:registerEvent name="getAccounts" type="c:GetAccounts"/>
var event = $A.get("e.c:GetAccounts");event.setParams({"filter": filter});event.fire();
AccountList
Eventos
Partes de un Componente
UI MarkupData bindingAtributos
Componente
Manejadores Eventos
Lógicacompartida
Helper(js)Estilo
CSS encapsulado
Controlador(js)
MétodosAura enabled
Controlador(Apex)
Partes de un componente
UI MarkupData bindingAtributos
Componente
Descriptor de diseño
Manejadores Eventos
Lógicacompartida
Helper(js)Estilo
CSSencapsulado
App Builder
Controlador(js)
MétodosAura enabled
Controlador(Apex)
Aplicación standalone: .app Visualforce! Otro componente: .cmp Menú navegación Salesforce1 Lightning Experience Fuera de los servidores de Salesforce (Lightning Out) (beta) Communities
¿Dónde puedo usar un componente?
La forma divertida paraAdmins, Developers y cualquiera
de aprender Salesforcehttp://trailhead.salesforce.com
https://github.com/aazcona/accounts-app @Alba_Arivas
[email protected] albasfdc.wordpress.com
¡Gracias! ¿Preguntas?