It just depend on what you expect to do exactly. In my site the process is simple.
I installed a separate DB for country IPs; I receive a monthly update and it's more easy to manage in a separate DB.
Each geotargeted page display the content in an iframe. I created a geotarget folder where I upload the php files with the contents and I use a plugin to call the php file in an iframe.
You can read some good articles with example codes on the IP2Location website.