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
How to Defend Against Brute-Force and DoS Attacks with Fail2ban, Nginx limit_req, and iptables
In this tutorial, I’ll explain how to protect your public-facing Linux server and Nginx web server from common threats, including brute-force and DoS attacks.
Is Getting AWS Solutions Architect Associate Certification Worth It?
If you are a full-time Software Engineer, there's no strong need to pursue this certification.
DevSecOps
My Notes about DevSecOps
AWS Secrets Manager
Explanation about AWS Secrets Manager with example code.
Envelope Encryption
Envelope encryption is the practice of encrypting plaintext data with a data key, and then encrypting the data key under another key.