Visualforce tutorial

Introduction

Chapter 1 – From Hello World to use display standardcontroller

1.1 Display an html page in a Visualforce page

1.2 What is developer mode and whether to use it

1.3 Use static resource to keep the css file

1.4 Use standard controller to connect to an SObject

1.5 Use standard actions from standard controller

Chapter 2 – Apply standardcontroller extension

2.1 When standardcontroller is not sufficient

2.2 Use apex to talk to database and persist data

2.3 How does the front end talk to back end

2.4 A brief introduction to View State

Chapter 3 – Render and reRender

3.1 Example of using rendered

3.2 When do we want to use rendered over front-end hide

3.3 How does reRender work

Chapter 4 – How to display messages in a Visualforce page

4.1 Display an error message in Visualforce page

4.2 Type of messages

4.3 We can use reRender for messages

Chapter 5 – Different ways to invoke apex code inside a Visualforce page

5.1 When commandButton is not good enough, use actionFunction

5.2 Introduction to actionSupport

5.3 When we want stateless – use Javascript remoting

Chapter 6 – Use custom controller and standardList controller

6.1 How to use a custom controller

6.2 Example of using standardListcontroller

Chapter 7 – Some advanced topics about Visualforce

7.1 How to reduce View State size and improve efficiency

7.2 General thinking – when do we want have the logic and front end and when to keep it at back end

7.3 SOQL injection and how to avoid it