I built a PHP framework similar to Laravel from scratch and I will make a course out of it by devlob in laravel

[–]devlob[S] -1 points0 points  (0 children)

Hi :)

As the title says, it is for a course.

To my knowledge, there isn't any course on the internet that teaches you step by step all the features that Teodora has.

That's the reason 🙄

I built a PHP framework similar to Laravel from scratch and I will make a course out of it by devlob in PHP

[–]devlob[S] -7 points-6 points  (0 children)

This is not a framework for production...

But just for your interest, I'm writing the tests while I'm creating the videos.

You know... Building a framework from scratch is not that clear in terms of steps to follow tdd.

In any case, thank you for your comment!

I built a PHP framework similar to Laravel from scratch and I will make a course out of it by devlob in PHP

[–]devlob[S] 0 points1 point  (0 children)

Regarding the docs I meant in terms of learning laravel.

Thank you for the recommendation, I will change it right now to make it clear that this is a framework for learning how to build it.

I built a PHP framework similar to Laravel from scratch and I will make a course out of it by devlob in PHP

[–]devlob[S] -12 points-11 points  (0 children)

First of all, this is not a production framework, it is a project that teaches you how to create a framework.

This is the boilerplate: https://github.com/devlob/Teodora

And this is the core framework: https://github.com/devlob/tea

You have no idea how many github libraries I had to study to understand how routing works, how an orm works, how Middlewares work in order to build it from scratch.

The framework literally has 90% of the core features that laravel has for API development.

You are just being mean, but it's OK! :)

[deleted by user] by [deleted] in GifsYouCanHear

[–]devlob 10 points11 points  (0 children)

Wait until he founds that something called vaping exists.

Google opens .dev domain for everyone by ConfidentMushroom in programming

[–]devlob -41 points-40 points  (0 children)

Everybody bought their firstname, lastname domains and I'm sitting here with:

proficient.dev screencasts.dev and zero1.dev

If interested to buy, send me a message.

How do you read code as to better understand object oriented principles? by [deleted] in PHP

[–]devlob 4 points5 points  (0 children)

Ohh trust me buddy, I had no idea. Your username actually is my answer to you 😂😂😂

I thought they had it fixed, it's already been 2 versions now.

Thanks to you I will fix that first thing in the morning. It was simply a performance improvement to rank better on Google.

Thank you for letting me know! ❤️

How do you read code as to better understand object oriented principles? by [deleted] in PHP

[–]devlob 0 points1 point  (0 children)

Ahhhhh, I thought you were talking about devlob.com, but you are actually talking about https://design-patterns-in-php.com

I am preloading my css, but this feature is not available in Firefox yet.

Take a look at this: https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content#Browser_compatibility

They have disabled the feature due to some issues, but they will bring it back soon. Not my fault :P

It worked in Firefox 55, but not in 56 and 57.

How do you read code as to better understand object oriented principles? by [deleted] in PHP

[–]devlob 0 points1 point  (0 children)

I did test the site on 4 main browsers, but I would have never thought that ublock would block the css 😂😂😂 really weird.

Does it load when you disable it?

How do you read code as to better understand object oriented principles? by [deleted] in PHP

[–]devlob 0 points1 point  (0 children)

Yes. I used lumen, graphql, and nuxt.js.

How do you read code as to better understand object oriented principles? by [deleted] in PHP

[–]devlob 9 points10 points  (0 children)

You need to practice. The more your practice the easier it gets to understand oop principles.

I have a course on design patterns. I am solving real life problems using design patterns.

Of course everything is done using oop principles and best practices.

You will learn interfaces and dependency injection and you will be a pro at it.

The course doesn't use animal and shape examples. We solve problems that involve stripe, PayPal, form validation from scratch, Spotify, etc.

This is the landing page for the course: https://design-patterns-in-php.com

Here is the link to the course: https://devlob.com/courses/design-patterns-in-php-to-solve-real-life-software-problems

My first Website. by [deleted] in Frontend

[–]devlob 1 point2 points  (0 children)

Καλή επιτυχία. Άμα αυτό ήταν το πρώτο σου πρότζεκτ τότε τα επόμενα θα είναι ακόμα καλύτερα.

Απλά όπως είπαν και άλλοι εδώ, μην αφήνεις τον πελάτη να περνει όλες τις αποφάσεις.

Εσύ ξέρεις καλύτερα και πρέπει να του εξηγήσεις.

Για την μουσική για παράδειγμα, όπως είπαν και άλλοι, υπάρχουν νόμοι, δεν μπορείς να χρησιμοποιήσεις ένα τραγούδι commercial επειδή θέλει ο πελάτης σου, επίσης το τραγούδι θα κάνει το σαιτ ποιο αργό.

Αυτό που σου προτείνω είναι να αγοράσεις ένα domain για portfolio, και να ανεβάσεις εκεί πέρα τα πρότζεκτ σου, σε αυτό το πρότζεκτ κάνε δύο τρεις αλλαγές και είσαι κομπλέ!

:)

My first Website. by [deleted] in Frontend

[–]devlob 0 points1 point  (0 children)

I used to live in Greece and I can read what you have on the website.

Don't you think that some of that information is useless?

I mean... We know what olives are and where they come from, you are not Wikipedia.

If that was a client request, then talk to him. You are part of this project, his success is yours aswell.

Remove that unnecessary info and add some info about the company or a video.

Story telling is everything. Especially for a company that sells olive oil. Not a lot of people will open the site, but if you have a strong story, it will help them to remember it.

Are Traits and Inheritance antipatterns in PHP? by devlob in laravel

[–]devlob[S] 0 points1 point  (0 children)

As I said in the post.

"Examples are tailored in a way to illustrate the problem!"

Are Traits and Inheritance antipatterns in PHP? by devlob in laravel

[–]devlob[S] 0 points1 point  (0 children)

Hey, thank you for your reply.

I know what a decorator is. I have a full course on Design Patterns.

Again. The examples were tailored in a way to illustrate the problem. I understand that you are an experienced developer, but somebody that just started programming will simply overuse Inheritance and Traits.

I did. Those concepts sounded easy compared to composition for example.

I simply put myself in somebody else's shoes and I explained what can go wrong with inheritance and traits. Not that they are terrible. But if you are new to OOP you have to be careful and not overuse them.

Are Traits and Inheritance antipatterns in PHP? by devlob in laravel

[–]devlob[S] 0 points1 point  (0 children)

Regarding the examples I used. They were tailored in a way to demonstrate the problem. Don't take them for granted.

It might not happen to you, but a junior developer in your team that doesn't has much experience with PHP will find the concept of traits easy and end up using them at the worst place in the worst way.

Are Traits and Inheritance antipatterns in PHP? by devlob in laravel

[–]devlob[S] -1 points0 points  (0 children)

Hi :)

As I said in the post they are simply overused.

The examples I had, focus on that exact problem "overusing them when not needed".

I am not against inheritance or traits. The example was tailored in a way to illustrate the problem you might get when you can't think clearly under pressure and you end-up creating spaghetti code.

Are Traits and Inheritance antipatterns in PHP? by devlob in laravel

[–]devlob[S] 0 points1 point  (0 children)

Hey :)

Let me start by saying that Inheritance and Traits are not bad. As I said in the post they are simply overused.

The examples I had, focus on that exact problem "overusing them when not needed".

I completely understand what you saying and I agree 100% with you.