Mudanças entre as edições de "SCC-263"

De CoteiaWiki
 
(30 revisões intermediárias por 2 usuários não estão sendo mostradas)
Linha 1: Linha 1:
No Jupiter-web: [[http://sistemas2.usp.br/jupiterweb/obterDisciplina?sgldis=SCC0263&nomdis= ementa]]
+
No Jupiter-web: [[https://uspdigital.usp.br/jupiterweb/obterDisciplina?sgldis=scc0263&nomdis= ementa]]
  
'''1.o Semestre de 2010'''
+
== 1º Semestre 2010 ==
  
Material disponível [[http://www.icmc.usp.br/~mello aqui]]
+
*[[scc-263(mello)| Técnicas de Programação para Web]] - prof. Rodrigo Mello
 
 
[http://netuno.icmc.usp.br/ssp01 Site de submissão de trabalhos]
 
 
 
'''Plano de Aulas'''
 
 
 
<b>Apresentar ementa</b>
 
<b>O que é um Servidor Web?</b>
 
<b>Instalação do Web Server Apache</b>
 
<b>Html básico</b>
 
  <ul>
 
  <li>html, head, body, p, br, table, table border, table bgcolor, tr bgcolor, font face color size, espaço, body cellspacing cellpadding topmargin leftmargin, a href, img, ...
 
  </ul>
 
<b>CSS básico</b>
 
  <ul>
 
  <li>para fontes
 
  </ul>
 
<b>Decidir sobre um sistema para implementar. Algumas opções:</b>
 
  <ul>
 
  <li>Gerenciador de Conteúdo
 
  <li>Blog
 
  <li>Orkut
 
  <li>Twitter
 
  </ul>
 
<b>Criar páginas JSP:</b>
 
  <ul>
 
  <li>for com out.print e System.out.println
 
  <li>requet.getParameter()
 
  <li>response.sendRedirect()
 
  <li>page import para Date
 
  <li>sessão (session.setMaxInactiveInterval(segs), setAttribute(String, Object), getAttribute(String), invalidate()
 
  <li>jsp:useBean id class scope, com e sem uso de jsp:setProperty name property, jsp:getProperty
 
  <li>jsp:include page="" (executa e depois inclui) e <%@ include file="" %> (inclui e depois executa)
 
  </ul>
 
<b>Começar desenvolvimento de sistema</b>
 
  <ul>
 
  <li>Criar página template para o site (com Html, CSS e Imagem)
 
  <li>form submit
 
  <li>header/footer
 
  <li>Acesso a banco de dados
 
  </ul>
 
 
 
 
 
bash-3.1# /etc/rc.d/rc.postgresql start
 
 
 
Creating PGDIR /var/lib/pgsql: ok
 
 
 
Initializing database: ok
 
 
 
Starting PostgreSQL: ok
 
 
 
bash-3.1# su - postgres
 
 
 
postgres@athena:~$ createuser -P uguuugle
 
 
 
Enter password for new role:
 
 
 
Enter it again:
 
 
 
Shall the new role be a superuser? (y/n) y
 
 
 
postgres@athena:~$ createdb -U uguuugle guuugledb
 
 
 
postgres@athena:~$ psql -U uguuugle guuugledb
 
 
 
psql (8.4.0)
 
 
 
Type "help" for help.
 
 
 
 
 
guuugledb=# create table webpage (url varchar(255) not null, body text);
 
 
 
CREATE TABLE
 
 
 
guuugledb=#
 
 
 
guuugledb=# insert into webpage values ('http://www.google.com', 'concorrente outro google fake');
 
 
 
INSERT 0 1
 
 
 
guuugledb=# insert into webpage values ('http://www.yahoo.com', 'ms microsoft ultra fake');
 
 
 
INSERT 0 1
 
 
 
guuugledb=# select * from webpage;
 
 
 
          url          |            body             
 
 
 
-----------------------+-------------------------------
 
 
 
http://www.google.com | concorrente outro google fake
 
 
 
http://www.yahoo.com  | ms microsoft ultra fake
 
 
 
(2 rows)
 
 
 
 
 
guuugledb=# \q
 

Edição atual tal como às 18h52min de 24 de novembro de 2014

No Jupiter-web: [ementa]

1º Semestre 2010