Software and systems engineering Paulo Borba Informatics Center Federal University of Pernambuco

[email protected] ◈ twitter.com/pauloborba

Evaluation of the SaaS architecture class

• Only 13 answers! • "Achei que todas as aulas deveriam ser como esta”

• "a parte prática não foi legal" • ''O questionário deveria ser feito no fim da aula”

• "aulas mais completas sobre o conteúdo, é dificil ler todo material antes da aula”

Class structure • Check previous activities • Log into google with your CIn account • Access and answer today’s questions (…) • Discuss class material

• what haven’t you understood? what don’t you agree? what haven’t you liked? what are you missing to perform the project task?

• Hands-on application development

ModelViewController architecture

Controller 1

Controller 2

Controller n

Model 2

Model 1 Views Views 1 1 1

Views Views 1 1 2

Model n Views Views 1 1 n

Template Views

Views: Groovy Server Pages • Templates used to generate the HTML pages shown by the system

• Formed by mixing • HTML elements and attributes • Grails tags (execute commands or generate HTML elements)

• Groovy code

GSPs references controllers, actions,…

using controller defined by the file hierarchy where this code is

and parameters coming from controllers and previous request

Referencing controllers with forms

Controllers receive arguments from requests, manipulate models, and render and pass arguments to views

renders view (in specific directory associated to the controller) with the same name as the action

ModelViewController architecture

Controller 1

Controller 2

Controller n

Model 2

Model 1 Views Views 1 1 1

Views Views 1 1 2

Model n Views Views 1 1 n

Controllers render non default views, sets flash and session, and redirects to another action

Controllers respond to requests in different response formats…

implicit model name for the first argument: residueInstanceList

or request formats

Grails architecture

Models are Groovy classes, with constraints….

and other GORM annotations

Dúvidas? Pergunte! • Dúvidas de onde atirar: mensagem para a lista, post, livro • Dúvidas de como atirar e o que fazer… • problema de instalação: seguir roteiro à risca, ver detalhes de conf. da máquina; msg para a lista; stackoverflow; web

• problema de sintaxe: gramática, manual • erro de execução-problema semântico: copiar msg de erro no google; depurar; manual; msg para lista com todo o contexto, instalação, etc. detalhe para reproduzir o bug

Looking for information http://grails.github.io/grails-doc/2.4.3/

http://stackoverflow.com/questions/ 22601188/grails-controller-rendering-methodrender-vs-respond

instancelist grails

http://grails.github.io/grails-doc/2.4.3/ref/ Controllers/respond.html

https://jira.grails.org/browse/GRAILS-10721

Software and systems engineering Paulo Borba Informatics Center Federal University of Pernambuco

[email protected] ◈ twitter.com/pauloborba

Paulo Borba Informatics Center Federal University of ...

Check previous activities. • Log into google with your CIn account. • Access and answer today's questions (…) • Discuss class material. • what haven't you understood? what don't you agree? what haven't you liked? what are you missing to perform the project task? • Hands-on application development ...

996KB Sizes 0 Downloads 119 Views

Recommend Documents

Paulo Borba Informatics Center Federal University of ...
Software as a Service. (SaaS). • Delivers software and data as a service over the Internet. • No need to install applications. • No need to backup or share data. • Easier to improve the service ...

Paulo Borba Informatics Center Federal University of ...
Little reuse and agility, high costs. Even with. Android! ... import java.util.Vector; import com.meantime.j2me.util.Screen; import com.meantime.j2me.util.bvg.BVGAnimator;. //#if device_graphics_transform_midp2. //# import javax.microedition.lcdui.ga

Paulo Borba Informatics Center Federal University of ...
Code cloning tool, packages. 8. Wednesday, August 18, 2010 ... Minimum TKS (kinds of tokens) int x = 0; int y = 0; int z = 0; int a = 0; int b = 0; int c = 0;. 18. Wednesday, August 18, 2010 ... POP (population): Count of code fragments of the code c

Paulo Borba Informatics Center Federal University of ...
Code cloning tool, file. Page 8. Code cloning tool, packages. Page 9 ... P-match... maps different variables and function names to different tokens if (x>0). {y=1; x=2; x=w;} else. {y=1; x=2; x=z;}. Page 17. Minimum TKS (kinds of tokens) int x = 0; i

Paulo Borba Informatics Center Federal University of ...
PDC, bridge variation... class AccountRecord { private AccountRepository accounts;... public void register(Account a) { if (a != null) {. String n = a.getNumero(); if (!accounts.exists(n)) { ... Account search(String number); boolean exists(String nu

Paulo Borba Informatics Center Federal University of ...
Software development issues. (crisis?) □ Project cancellation rate of 25%. • 31% in another study, 16% are successful. □ development time and cost go well beyond the estimative. • in 53% of the analyzed projects. □ 75% of the analyzed syste

Denver Federal Center (2).pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Denver Federal ...

Federal University of Amazonas, Manaus, BRAZIL ...
RESULTS. Two evaluation metrics were used: • RMSE: adequate to evaluate the floating point results ... host city of all teams). • The problem of prediction of goal difference was interpreted as a temporal regression task. • We searched for a se

[PDF BOOK] Fundamentals of Federal Income Taxation (University ...
We would like to show you a description here but the site won’t allow us. Online PDF Fundamentals of Federal Income Taxation (University Casebook ...

Federal University of Technology, Owerri, Imo State ... ...
on Computational Sciences, Information Assurance, Big Data, and STEM. Education .... Room rates 2012/2014. ROOM. RATES. DEPOSIT. SUPERIOR DOUBLE.

The City University of New York - The Graduate Center, CUNY
Jul 6, 2011 - Act as a First Responder to alarms and calls for service. Observe campus activities, reporting suspicious behavior and other incidents to Central ...

National Survey - Public Policy Center - University of Iowa
Additionally, the project team brought in Knowledge Networks, a nationally .... Upon receiving the responses, the UI compiled all the expert responses into a single ..... 'social media (Facebook, twitter)' (4.7%) and 'brochures, pamphlets' (5.2%).

National Survey - Public Policy Center - University of Iowa
component of the National Driver Safety Education Campaign. ... Additionally, the project team brought in Knowledge Networks, a nationally ..... Respondents were asked to report (to the best of their knowledge) which vehicle safety ... Table 10: Tech

University of Texas Health Science Center at San Antonio.pdf
University of Texas Health Science Center at San Antonio.pdf. University of Texas Health Science Center at San Antonio.pdf. Open. Extract. Open with. Sign In.

The University of Arizona Center for Environmental Physics and ...
collaborative soil science research focused on the application of geospatial, ... for an individual that can assist in project management, including data analysis.

The University of Arizona Center for Environmental Physics and ...
The University of Arizona Center for Environmental Physics and Mineralogy and Environmental. Pedology ... immediate need for an individual that can assist in project management, including data analysis ... Please feel free to contact Craig.