Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PHP - Introdução curso CEI UNISC
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Anderson Fraga
June 22, 2012
Programming
52
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PHP - Introdução curso CEI UNISC
Anderson Fraga
June 22, 2012
More Decks by Anderson Fraga
See All by Anderson Fraga
WebSites - Introdução curso CEI UNISC
andersonfraga
1
53
Other Decks in Programming
See All in Programming
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
410
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
300
golang-bob.pdf
iwatsukayura
0
130
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
0
1.3k
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
150
すこし踏み込む CancellationToken
htkym
2
1.7k
The Rails Doctrine Decade
koic
2
590
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
270
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.5k
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
470
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
Featured
See All Featured
The Curious Case for Waylosing
cassininazir
1
570
The SEO identity crisis: Don't let AI make you average
varn
0
590
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
The Invisible Side of Design
smashingmag
301
52k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Optimizing for Happiness
mojombo
378
71k
Optimising Largest Contentful Paint
csswizardry
37
4k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.7k
Side Projects
sachag
456
43k
Transcript
Programação para web Anderson Fraga - CEI - junho/2012 segunda-feira,
4 de junho de 2012
Sumário • Introdução PHP • Como começar • Diferenças entre
servidores • php.ini segunda-feira, 4 de junho de 2012
Introdução PHP • O que é? • História • Onde
é usado • Por quem é usado • Por que usar • Prós e contras segunda-feira, 4 de junho de 2012
O que é • Linguagem de programação criada em 1995
• Rasmus Lerdorf • PHP/FI (Personal Home Page/Forms Interpreter) • Perl -> C segunda-feira, 4 de junho de 2012
História • Variáveis de formulários • Conexão com banco de
dados • Sintaxe direto no HTML • Feio, muito feio segunda-feira, 4 de junho de 2012
História • Versão 3: 1997 • Muito pobre em funcionalidades
• Versão 4: 1998 • Orientação a objetos básico • Versão 5: 2004 • Evolução no POO • Muitas extensões segunda-feira, 4 de junho de 2012
História • Versão 5.3 : janeiro de 2009 • Namespaces!
• Closures • Melhorias no GC • Otimizações em geral segunda-feira, 4 de junho de 2012
História • Versão 5.4 : março 2012 • Traits •
Sintaxe simplificada para arrays • Webserver embutido para testes segunda-feira, 4 de junho de 2012
Onde é usado? • Pode ser usado por todo site/aplicação
que necessita guardar/enviar/tratar dados • Guardar em banco de dados • Enviar por email • Salvar em arquivo texto segunda-feira, 4 de junho de 2012
Onde é usado? • Geração e tratamento de imagens •
WebServices • Processamento de arquivos • Conversão de datas • Manipulação de diretorios segunda-feira, 4 de junho de 2012
Por quem é usado? • Google • Yahoo • Microsoft
• Globo.com • Unisc • Gazeta do Sul ☺ • Facebook segunda-feira, 4 de junho de 2012
Por que usar? • Documentação gigantesca • http://www.php.net/docs • Em
português! • Muitas bibliotecas • Linguagem web mais usada no mundo hoje segunda-feira, 4 de junho de 2012
Por que usar? • Muito simples de começar • Sintaxe
limpa e de fácil didática • Lembra Java ;) segunda-feira, 4 de junho de 2012
Prós • Simplicidade • Clareza • Documentação • Fácil de
colocar em ‘produção’ • Tipagem bem flexível (dinâmica) segunda-feira, 4 de junho de 2012
Contras • Devido à simplicidade, corre-se o perigo de fazer
muitas ‘gambiarras’ sem perceber • O mesmo motivo serve para encontrar bibliotecas incompletas e mal feitas • Não tem a facilidade de localizar erros de sintaxe, antes de executar, como nas linguagens compiladas segunda-feira, 4 de junho de 2012
Contras • Linguagem dinâmica... • $a = “12 cachorros” +
15; • echo $a; • // 27 segunda-feira, 4 de junho de 2012
Como começar • Para Windows • http://www.wampserver.com/ segunda-feira, 4 de
junho de 2012