Phuby on Phails - Kode PHP menggunakan Ruby on Rails
• Kunto Aji - Last modified atUpdate 2020-07-12: Phuby pada tulisan ini dijalankan berdasarkan Ruby on Rails versi 2.3, belum tentu dapat berjalan pada Rails versi lebih baru.
Ingin menjalankan PHP menggunakan Ruby on Rails? mungkin video ini bisa menjadi jawaban anda. Hanya dengan sedikit konfigurasi, yaitu menambahkan kode di bawah ini pada direktori config/environment.rb
Kemudian jalankan perintah ruby script/generate controller phps
untuk generate controller bernama phps
, edit app/views/phps dan edit dengan sintaks php. Misal, kode dibawah ini.
Recent Posts
Subdomain Hijacking
My dormant subdomain was recently hijacked, redirecting it to a online gamble registration page.
C# DbContext ServiceLifeTime
my note about C Sharp ServiceLifeTime
PostgreSQL Index Usage Monitoring
Having too many unused or underused indexes on a table can slow down write and update operations in your PostgreSQL database, making it crucial to regularly identify and manage them for optimal performance.
KAK Labs Newsletter #6 - Staying Safe From Pegasus Spyware
Newsletter #6 - Pegasus, Ruby, PostgreSQL and networkQuality tool
Material Design - Paragraph Spacing
According to Google's Material Design, keep paragraph spacing in the range between .75x and 1.25x of the type size.