Web Development

iframe won’t display content..

There is a website, with iframe. I frame source is correct, but won’t display content of the website. No visible errors. There only small detail in the console:

Load denied by X-Frame-Options: https://... does not permit cross-origin framing.

Some crazy admin figure out that it’s going to be better… and put some crazy code into headers:

X-Frame-Options: SAMEORIGINX-XSS-Protection: 1; mode=blockX-Content-Type-Options: nosniff

Solution: talk to the hand, because admin won’t listen ;P

Setting up caddy server for wordpress

Setting up caddy server for wordpress

Caddy is a another alternative to Apache or nginx . For me the biggest advantage is that it’s only one binary file to work with. It’s easy to run, setup and just “works”. It’s super modern – handles HTTP2 and automatic HTTPS encryption using let’s encrypt certificates. Obviously it has plenty of other features but we focus only on speed of deployment.

Phalcon is a new PHP Framework of my choice

Phalcon is a new PHP Framework of my choice

I’m working on multiple PHP based projects. Most of them using CodeIgniter as a base framework. I mastered it into stage, where has no secrets for me. The problem is that I also know disadvantages of this bit outdated framework. Recently core team announced that they are dropping future development so it means that CI is dead. Doesn’t mean that I don’t like it anymore. I just started looking for something new.

I like CI because I got control over everything. Modern PHP frameworks trying to solve all problems for you. It’s amazing, but lack of control is what you don’t need in when you developing projects. What do you need it’s this easy flow during development process. Full control over your MVC structure, but also a lot of “help” from framework itself.