If you have followed sfdcinpractice for some time, you might have noticed that I haven’t started writing Visualforce guide for quite some time.

Why? Because I myself is sometimes confused, how should I talk about Visualforce, in which way I can make it both understandable, adhere to Salesforce and also up to date? With the introduction of lightning component, is Visualforce an outdated technology already? Should we put all the logic into front end? Should I still talk about actionSupport?

Those questions really bugged me for a while and that’s why I was not quite confident to write this guide.

However, when some front end developers turn to me on how to start writing Salesforce code, I suddenly realized Visualforce could be the best starting point, even better than triggers.

The mechanism of talking to database, view state, and considerations about front end vs back end, stateful vs stateless is the best way to understand how to write a web page in Salesforce way.

Even at the age of lightning component, I find learning Visualforce pages still quite worthy. You will have a much better understanding of how everything works and why it is working that way.

In this guide, I will try to explain how you write an Visualforce page and how to write it properly. Just follow me.


You need to know some basics about how to write Html, css and Javascript. You don’t need to be an expert but at least know some concept about how to write them

Next Post

1.1 Display an html page in a Visualforce page

Subscribe to Sfdcinpractice

Subscribe to get the latest blogs and tutorials of sfdcinpractice. No spam, no trash, only the awesome posts from sfdcinpractice. 

Leave a Reply

Your email address will not be published / Required fields are marked *