Adrian Tiliță

Just sharing...

  • About Me
  • Just code

Just code

Just code stuff

How to improve your website’s security: 2 of the most common exploits still present in modern websites

January 31, 2017 / Leave a Comment

Lately I’ve come to the conclusion that we, developers, have become lazy. There are so many security tools that covers our back that we kind of forget to cover this topic and may end-up having problems when changing environments. We rely on frameworks, on HTTP Servers (apache, nginx) and we forget that we should do … [Read more…]

Posted in: Just code Tagged: code injection, exploits, security, shell injection, wordpress exploits, xss

NeedleProject/FileIo – Step 4: Add features, small refactor, fix issue #4

January 23, 2017 / Leave a Comment

The library is starting to have a usable form but is still a lot to do. In the previous posts we have fixed 2 issues and created an example file. Well, let’s establish our work for today: add extension identification fix issue #4 small refactors 1. Add extension identification, name and base-name get methods We will … [Read more…]

Posted in: Just code Tagged: fileio, library, needle-project, php, refactor, tdd

NeedleProject/FileIo – Step 3: Fix issues

January 16, 2017 / Leave a Comment

In the previous post we established some issues that can be viewed here here. In this post I want to cover some of the issues, but, before that, let’s create an example to see our current covered usage. First, I will write an index.php file in a new directory called example. The file looks like this: … [Read more…]

Posted in: Just code Tagged: error handling, fileio, needle-project, php, tdd

NeedleProject/FileIo – Step 2: Improve tests and add features

January 16, 2017 / Leave a Comment

In the previous post we have gone through the minimum steps on how we can build a library. At the current moment, it cannot be even named as “library”. In this post I will try to cover the following issues: Improve tests Read content from a file The from from what we start can be … [Read more…]

Posted in: Just code Tagged: design principles, fileio, needle-project, php, tdd

Introduction to a PHP library: NeedleProject/FileIo – Step 1: Creating the “skeleton”

January 16, 2017 / Leave a Comment

Hello everyone. This is my first post and my starting point to giving back to the developer community. For a long time I wanted to do this, so this is maybe the best moment, by showing a step-by-step build of a library I am developing. I would like to show everyone how developing works for me, … [Read more…]

Posted in: Just code Tagged: design principles, fileio, library, needle-project, php, tdd

My shared code

adrian-tilita (Tilita Adrian)
Bucharest, Romania
Joined on Nov 25, 2013
11 Public Repositories
0 Public Gists

Copyright © 2023 Adrian Tiliță.

Me WordPress Theme by themehall.com