From ASP.NET + MSSQL to PHP + MySQL: Migrating a Names Site Without Mangling the Accents
The article discusses the migration of a baby-name website from ASP.NET with MSSQL to PHP with MySQL. The author highlights the challenges faced during the migration, particularly with character encoding and database schema differences. Ultimately, the switch was motivated by the need for more affordable and stable hosting options.
- ▪The original site was built using ASP.NET and MSSQL but faced hosting challenges.
- ▪The migration to PHP and MySQL was driven by the availability of cheaper and more stable Linux hosting.
- ▪Character encoding issues arose during the migration, particularly with non-ASCII characters in names.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3853508) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Marvin Tang Posted on May 30 From ASP.NET + MSSQL to PHP + MySQL: Migrating a Names Site Without Mangling the Accents #php #mysql #dotnet #webdev My baby-name site started life on ASP.NET with a MSSQL backend. It worked. The reason I rewrote the whole thing in PHP + MySQL had nothing to do with the code being bad — it was everything around the code.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).