Upload
internet
View
105
Download
0
Embed Size (px)
Citation preview
Photo by samsungtomorrow - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/47036738@N06 Created with Haiku Deck
Photo by agirregabiria - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/75012450@N00 Created with Haiku Deck
Photo by agirregabiria - Creative Commons Attribution-NonCommercial-ShareAlike License https://www.flickr.com/photos/75012450@N00 Created with Haiku Deck
Studio SOA & HPCStudio SOA & HPC6
Web design Graphic design 3D modeling
Da modelagem de APIs ao Big DataDa modelagem de APIs ao Big Data
Felipe OliveiraFelipe Oliveira8
@scaphe | [email protected]@scaphe | [email protected]
I <3 Patterns I <3 Patterns 12
Leia o livro ! Leia o livro ! 12
Case 3: Notas, Itens, Clientes…Magazine LuizaCase 3: Notas, Itens, Clientes…Magazine Luiza
12
Correlacionando Tudo.Correlacionando Tudo.
Rascunho da solução: Rascunho da solução: 12
SQL Query OData Request
select * from products where id = 1 /Products(1)
select * from productswhere 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
Exemplos
/Categories?$filter=Name eq ‘Dairy’
Filters
Logical Operatorseq ne gt ge lt le eq or and
Arithmetic Operatorsadd sub mul div mod
Parenthesis Operator()
Canonical Functions
atom json xml
(Ou qualquer outro formato que você defina.)
Formato
/Categories?$format=json *
Metadata
<edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx"> <edmx:DataServices xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" m:DataServiceVersion="1.0"> <Schema Namespace="NorthwindModel" 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"> <EntityType Name="Category"> <Key> <PropertyRef Name="CategoryID" /> </Key> <Property Name="CategoryID" Type="Edm.Int32" Nullable="false" p8:StoreGeneratedPattern="Identity" xmlns:p8="http://schemas.microsoft.com/ado/2009/02/edm/annotation" /> <Property Name="CategoryName" Type="Edm.String" Nullable="false" MaxLength="15" Unicode="true" FixedLength="false" /> <Property Name="Description" Type="Edm.String" Nullable="true" MaxLength="Max" Unicode="true" FixedLength="false" /> </EntityType> </Schema> </edmx:DataServices></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:ObjectId, cmis:ObjectTypeId,
cmis:Name FROM cmis:folderQCON
Streams API Consumindo:
XMLHttpRequestWeb Audio
Media Source ExtensionsWeb Cryptography API
TextEncoderTextDecoderWebSockets
RTCPeerConnectionFileWriter
Produzindo:
XMLHttpRequestFileReaderMedia CaptureMediaStream Recording APIIndexed DatabaseWeb Cryptography APITextEncoderTextDecoderWebSocketsEventSourceRTCPeerConnection
Todo dia suge uma nova necessidade
CQRS
Máquina de estados Máquina de estados
Orquestração
Coreografia
Orquestração
Coreografia HateOAS
Lembrete!!!
• Mostrar Fabric3, Sites etc.
Save the date 14/05