{"id":1747,"date":"2024-11-26T21:55:35","date_gmt":"2024-11-26T13:55:35","guid":{"rendered":"https:\/\/www.tonghin.com.my\/blog\/?p=1747"},"modified":"2024-11-26T21:55:37","modified_gmt":"2024-11-26T13:55:37","slug":"crud-for-user-address-password-hashing-and-renaming-column","status":"publish","type":"post","link":"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/","title":{"rendered":"CRUD for user address, password hashing and renaming column"},"content":{"rendered":"\n<p>Sixth week&nbsp;as an intern in Tong Hin. A lot of minor changes and implementation this week. The week start off with renaming column and tables as implementing Core Identity meant using the built in default name. After some looking and trying, the name has been renamed.<\/p>\n\n\n\n<p>Moving off with password hashing, the concept of it is to protects a password by turning it into a different and seemingly random string of characters. After looking at articles and tutorials, I implemented it and try it out. All works well.<\/p>\n\n\n\n<p>One of the problems I met for the week is dynamic code as the code can&#8217;t get through. After some asking, I get to understand the publishAot was the problem behind all this as I set it true. This little problem involve around a word took my time to solve as if I asked earlier would be solve sooner.<\/p>\n\n\n\n<p>Beside that, I have also commit and push for the 2nd time of my internship. It was a bad practice and commit and push took some time to look at the code and select line by line for the correct name. <\/p>\n\n\n\n<p>Last but not least, CRUD for addresses. Create and delete was fast but read and update took some time as mapping and modifying the code need some logic running around. Test has been done and still read and update haven&#8217;t gone through. <\/p>\n\n\n\n<p>In summary, I have implement something new and also been solving some problems. I got to proceed the task on week 3. It feels good to see progression and the things I have done for the past weeks. Will continue to keep on learning and doing on next week.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sixth week&nbsp;as an intern in Tong Hin. A lot of minor changes and implementation this week. The week start off with renaming column and tables as implementing Core Identity meant using the built in default name. After some looking and trying, the name has been renamed. Moving off with password hashing, the concept of it &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;CRUD for user address, password hashing and renaming column&#8221;<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CRUD for user address, password hashing and renaming column | Tong Hin&#039;s Blog<\/title>\n<meta name=\"description\" content=\"Sixth week\u00a0as an intern in Tong Hin. In summary, I have implement something new and also been solving some problems.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CRUD for user address, password hashing and renaming column | Tong Hin&#039;s Blog\" \/>\n<meta property=\"og:description\" content=\"Sixth week\u00a0as an intern in Tong Hin. In summary, I have implement something new and also been solving some problems.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/\" \/>\n<meta property=\"og:site_name\" content=\"Tong Hin&#039;s Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-26T13:55:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T13:55:37+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"2 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#organization\",\"name\":\"TONG HIN MACHINERY\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"sameAs\":[\"https:\/\/www.youtube.com\/channel\/UC60EoxJMNbu8mV0LuEGfrBg\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/wp-content\/uploads\/2020\/10\/web_logo_180_180.jpg\",\"width\":180,\"height\":180,\"caption\":\"TONG HIN MACHINERY\"},\"image\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#website\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"name\":\"Tong Hin&#039;s Blog\",\"description\":\"Sharing About Technology\",\"publisher\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.tonghin.com.my\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/#webpage\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/\",\"name\":\"CRUD for user address, password hashing and renaming column | Tong Hin&#039;s Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#website\"},\"datePublished\":\"2024-11-26T13:55:35+00:00\",\"dateModified\":\"2024-11-26T13:55:37+00:00\",\"description\":\"Sixth week\\u00a0as an intern in Tong Hin. In summary, I have implement something new and also been solving some problems.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/\",\"url\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/\",\"name\":\"CRUD for user address, password hashing and renaming column\"}}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#\/schema\/person\/913b5bfba79926673180dd4f175140f9\"},\"headline\":\"CRUD for user address, password hashing and renaming column\",\"datePublished\":\"2024-11-26T13:55:35+00:00\",\"dateModified\":\"2024-11-26T13:55:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/2024\/11\/26\/crud-for-user-address-password-hashing-and-renaming-column\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#organization\"},\"articleSection\":\"Experiential\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#\/schema\/person\/913b5bfba79926673180dd4f175140f9\",\"name\":\"Lim Jun Hau\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.tonghin.com.my\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0f29cea137e12dc2f5d6bf8daba219c6?s=96&d=mm&r=g\",\"caption\":\"Lim Jun Hau\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts\/1747"}],"collection":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/comments?post=1747"}],"version-history":[{"count":3,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts\/1747\/revisions"}],"predecessor-version":[{"id":1768,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/posts\/1747\/revisions\/1768"}],"wp:attachment":[{"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/media?parent=1747"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/categories?post=1747"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tonghin.com.my\/blog\/wp-json\/wp\/v2\/tags?post=1747"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}