When you create an extension, you must keep in mind that your code will be executed in various environment types, from the smallest website to the biggest businesses on the Web. Your users will be experts, agencies, and people who are new to Magento. That's why you definitely can't provide code that isn't prepared and scaled out for a high-load environment.
Next, we will discuss data security. As a developer, you will know that you can't trust user input; we will see how Magento can help us improve the security of our app.
In this chapter, we will cover the following topics:
Creating a new product type
Designing our extension for speed