We cannot differentiate the both InfoPath and aspx pages.
It’s totally different according our requirements we can use it.
Basically when you want to use like templates for re-usable purpose then we can use InfoPath forms. There is no require for coding for default requirements easily publish to the sharepoint site.
ASPX pages are clearly for the developers, require hand coding of interaction between the page and the database or workflow. Offers unlimited flexibility over layout, control interaction and functionality.
Aspx page advantages:
I. I think both are used to create forms , but infothform are used for smaller applications and aspx pages are used for both(smaller and big applications)| Bcoz Infopath form doesn’t contain any rich controls like Data grid and grid view , but aspx pages having all controls.
II. We can develop custom controls in aspx page but not in InfoPath.
III. Coming to coding part we can write coding easy compare to InfoPath , bcoz in InfoPath through XPATH only we can write.
InfoPath advantages :
I. But compare to aspx page we can easy to design InfoPath form and validations also
II. Without code we can access external and internal data.
III. Rendering also very fast.
IV. Its free of cost , bcoz if u purchase MS office its having InfoPath. So without dotnet or any software we can design forms and run.
V. Before run we can see preview also.
VI. We can easily add InfoPath form to SharePoint.



Here a small correction from ur article i.e "We can develop custom controls in aspx page but not in InfoPath.".As per my knowledge we can develop custom controls in Infopath but with limitations,let me know if i am wrong.
ReplyDeletePlease tell me mainly why we are using Features
ReplyDeletethankyou very much for ur post.
ReplyDelete