I am new to smart contracts and I am learning to develop DApps using truffle and web3 client from my web app.
I have already deployed a contract. And I want to extend it with some view functions that the web app will be using.
I was thinking about a solution, but I am not sure if which would be good practice in a real-world project:
I am thinking about deploying another contract that has view/pure functions that query the data from the first one.
But would not deploying such contracts be expensive as it cost ethers in real-world scenarios?
Or should I just use web3 and manipulate the data on the client-side?
Does these approaches sounds reasonable, or do you have a better ones?