- Mastering WooCommerce 4
- Patrick Rauland
- 255字
- 2021-06-24 16:46:13
Importance of test sites
If you've been a WordPress developer for a while, you're probably familiar with test sites. And while they're important in regular WordPress development, they're critical in WooCommerce development. The following screenshot shows what a website development process looks like:
With a typical WordPress development project, you'll build custom functionality on your local machine. Then, you'll upload it to a test site where the client usually approves it. Then, you move the test site to the live site, replacing data and files.
And this works great for most WordPress projects. But when it comes to e-commerce, there are two problems:
- You can never replace the live database: Since an e-commerce site is always on and always accepting new orders, payments, and marking items as shipped, you can't replace the live database with the test database.
- E-commerce functionality often needs a publicly accessible URL to work properly: A lot of e-commerce functionality (shipping, payment, and taxes) interacts with third parties, some of which need a publicly accessible URL to return data. So, it's much harder to test your site on a local machine.
Since the e-commerce site has more demands, we're going to cover some of the things you need to do with a test site:
- Migrate files but not the database
- Test with a publicly accessible URL
With these two extra criteria met, both of which can be done by a good website host, you can easily test and launch your own WooCommerce site. Let's look into migrating files first.
- OpenStack Cloud Computing Cookbook(Third Edition)
- Learning RxJava
- JavaScript+jQuery網頁特效設計任務驅動教程(第2版)
- 劍指JVM:虛擬機實踐與性能調優
- C++ Builder 6.0下OpenGL編程技術
- React Native Cookbook
- Selenium Design Patterns and Best Practices
- Data Analysis with Stata
- Functional Kotlin
- HTML5從入門到精通(第4版)
- R語言:邁向大數據之路(加強版)
- Swift High Performance
- INSTANT Premium Drupal Themes
- SQL Server 2008實用教程(第3版)
- Game Programming using Qt 5 Beginner's Guide