The document provides an introduction to PHP programming. It discusses PHP basics like syntax and variables, learning resources like tutorials and documentation references, and advanced PHP topics for more experienced developers like functions, arrays, and object-oriented programming. The goal is to help new PHP programmers learn the language and give them guidance on where to go to continue developing their skills.
Nettet som en del av mediemiksen - Google Think 2014 - Espen GrimmertEspen Grimmert
Et foredrag under Google Think 2014. Presentasjonen var for store annonsører som i dag ikke bruker Google. Der prøvde jeg å enkelt vise hvordan digital kommunikasjon blir en stadig viktigere del av markedsmiksen og norn ting man bør tenke på når man skal starte.
Det er jo lite tekst på foilene, de fungerer nok desidert best sammen med en muntlig presentasjon, men jeg håper noen kan ha glede av foilene.
Kontakt meg gjerne på Twitter eller Facebook for å "diskutere" videre.
Carrot City: The impact of food on the design of cities and buildings - Mark ...SBCBreakfastSessions
1) The document discusses the relationship between cities, agriculture, and food systems. It argues that reintegrating urban agriculture into cities can help address issues of food security, public health, and environmental sustainability.
2) Examples are provided of cities like Havana, Cuba that produce a large percentage of their own food within city limits through urban farms and community gardens. Initiatives in other cities like London are also transforming vacant urban spaces into productive agricultural lands.
3) The document advocates for the redesign of cities, buildings, and homes to better integrate food production and processing. Examples of innovative urban agriculture projects and designs are presented.
El diputado de Nueva Canarias Pedro Quevedo volverá a trasladar al Rey su apoyo a un gobierno alternativo liderado por Pedro Sánchez del PSOE y sustentado en una agenda para Canarias. Quevedo fue el primer representante en reunirse con el Rey en la segunda ronda de contactos para designar un candidato a la presidencia. Mientras, la diputada de CC Ana Oramas reiteró al Rey la oposición de su partido a un gobierno que incluya a Podemos y propuso explorar la posibilidad
16. mysql>
UPDATE
prize_history
SET
del_flg
=
1
WHERE
prize_id
=
14
AND
ctime
BETWEEN
'2013-05-18
00:00:00'
AND
'2013-05-24
00:00:00';
実行するSQL
イベント報酬ID
イベント開始日時
イベント終了日時
45. テスト用テーブル
・サンプルのデータは10万件
カラム名
型
id unsinged int(11)
A unsinged int(11)
B varchar(255)
C unsinged int(11)
インデックス
名
インデックス
種別
対象カラム
pkey プライマリキー
Id
index_A インデックス
A
index_B インデックス
B
index_C インデックス
C
index_A_B_
C
インデックス
A,B,C
46. 複合インデックス
が使える場合
• SELECT * FROM test WHERE A=1 and B=2 and C=3
• SELECT * FROM test WHERE A=1 and B=2
• SELECT * FROM test WHERE A=1
※ INDEX index_a_b_c(A,B,C)の場合
47. 複合インデックス
が使えない場合
• SELECT * FROM test WHERE B=2 and C=3
• SELECT * FROM test WHERE A=1 and C=3
• SELECT * FROM test WHERE B=2
※ INDEX index_a_b_c(A,B,C)の場合
51. カバリングインデックスの例
• SELECT A,B,C FROM test WHERE A=1 and B=2 and C=3
• SELECT A FROM test WHERE A=1 and B=2
• SELECT A,B,C FROM test WHERE A=1
※ INDEX index_a_b_c(A,B,C)の場合
52. カバリングインデックス
EXPLAIN
EXPLAIN
SELECT
A,B,C
FROM
test
WHERE
A=757
AND
b='0.ZYc2FHB0kpo'
G;
***************************
1.
row
***************************
id:
1
select_type:
SIMPLE
table:
test
type:
ref
possible_keys:
index_A,index_B,index_A_B_C
key:
index_A_B_C
key_len:
771
ref:
const,const
rows:
1
Extra:
Using
where;
Using
index
Indexを使っているという
意味ではない。Index内
のデータを使用している
という意味(カバリングイ
ンデックス)