Photo by samsungtomorrow Creative Commons AttributionNon CommercialShare Alike
Photo by samsungtomorrow - Creative Commons Attribution-Non. Commercial-Share. Alike License https: //www. flickr. com/photos/47036738@N 06 Created with Haiku Deck
Photo by agirregabiria - Creative Commons Attribution-Non. Commercial-Share. Alike License https: //www. flickr. com/photos/75012450@N 00 Created with Haiku Deck
Photo by agirregabiria - Creative Commons Attribution-Non. Commercial-Share. Alike License https: //www. flickr. com/photos/75012450@N 00 Created with Haiku Deck
Studio SOA & HPC Da modelagem de APIs ao Big Data Web design Graphic design 3 D modeling 6
Felipe Oliveira @scaphe | felipe. oliveira@soaexpert. com. br 8
I <3 Patterns 12
Leia o livro ! 12
Case 3: Notas, Itens, Clientes… Magazine Luiza Correlacionando Tudo. 12
Rascunho da solução: 12
Exemplos SQL Query OData Request select * from products where id = 1 /Products(1) select * from products where name = ‘Milk’ /Products? $filter=name eq ‘Milk’ select name from products /Products? $select=name select * from products order by name /Products? $orderby=name select * from products offset 10 limit 10 /Products? $top=10&$skip=10 select * from prices r, products p where r. id = p. id /Products(1)? $expand=Prices
Filters /Categories? $filter=Name eq ‘Dairy’ Logical Operators eq ne gt ge lt le eq or and Arithmetic Operators add sub mul div mod Parenthesis Operator () Canonical Functions
Formato /Categories? $format=json atom json xml (Ou qualquer outro formato que você defina. ) *
Metadata <edmx: Edmx Version="1. 0" xmlns: edmx="http: //schemas. microsoft. com/ado/2007/06/edmx"> <edmx: Data. Services xmlns: m="http: //schemas. microsoft. com/ado/2007/08/dataservices/metadata" m: Data. Service. Version="1. 0"> <Schema Namespace="Northwind. Model" xmlns: d="http: //schemas. microsoft. com/ado/2007/08/dataservices" xmlns: m="http: //schemas. microsoft. com/ado/2007/08/dataservices/metadata" xmlns="http: //schemas. microsoft. com/ado/2008/09/edm"> <Entity. Type Name="Category"> <Key> <Property. Ref Name="Category. ID" /> </Key> <Property Name="Category. ID" Type="Edm. Int 32" Nullable="false" p 8: Store. Generated. Pattern="Identity" xmlns: p 8="http: //schemas. microsoft. com/ado/2009/02/edm/annotation" /> <Property Name="Category. Name" Type="Edm. String" Nullable="false" Max. Length="15" Unicode="true" Fixed. Length="false" /> <Property Name="Description" Type="Edm. String" Nullable="true" Max. Length="Max" Unicode="true" Fixed. Length="false" /> </Entity. Type> </Schema> </edmx: Data. Services> </edmx: Edmx>
Content Management • Maior parte das grandes organizações possuem múltiplas soluções ECM • Não há padrão entre os sistemas ECM • As APIs são proprietárias, o que eleva o skill set da equipe • Linguagens de Query proprietárias • Dependendes de plataforma e linguagens: Java, NET • Difícil e caro de implementar. . .
CMIS Ajuda a definir ● CMIS Define: ● Modelos e. g. Tipos, Relações ● Padronização da Query Language ● Protocolos Bindings ex: REST, Web Services ● Services ex: Check out/in, versionamento
Entendendo CMS
Exemplos de Queries • SELECT * FROM cmis: document • SELECT cmis: Name FROM cmis: folder • SELECT cmis: Name FROM cmis: document WHERE IN_TREE(‘soaexpert’) • SELECT cmis: Object. Id, cmis: Object. Type. Id, cmis: Name FROM cmis: folder. QCON
Streams API Consumindo: Produzindo: XMLHttp. Request Web Audio Media Source Extensions Web Cryptography API Text. Encoder Text. Decoder Web. Sockets RTCPeer. Connection File. Writer XMLHttp. Request File. Reader Media Capture Media. Stream Recording API Indexed Database Web Cryptography API Text. Encoder Text. Decoder Web. Sockets Event. Source RTCPeer. Connection
Todo dia suge uma nova necessidade
CQRS
Máquina de estados Orquestração Coreografia
Orquestração
Coreografia Hate. OAS
Lembrete!!! • Mostrar Fabric 3, Sites etc.
Obrigado • Contatos: @scaphe Twitter • Email: felipe. oliveira@soaexpert. com. br
Save the date 14/05
- Slides: 43