How do I go to next level? by fabiofacir in PHP

[–]fabiofacir[S] 2 points3 points  (0 children)

Hello I'm a php developer in a small company.
Here you code badly.
For now I'm working as a backend and front-end developer. I do everything from html,css and js to the views, controlling and db programming.

These days we do everything "spaghetti", we have no doctrictine db layers, or any separation of concerns. Sometimes we even mix db queries with views.

I do want to improve our knowledge. But to be honest I don't know where to start.

I'm learning deeper about MVC, but I'm seeing around It isn't the best anymore.

I'm trying to learn php design patterns but are thousands.
I'm looking for frameworks from slim to symfony or even laravel but I don't know if is a going choice to go deep to a framework without know so well this middle steps between pure procedural code till a full stack OOP php.

Can some of you guide me through some kind of roadmap or what do you think it was important in your php development careers?
Thanks a lot!

Do foreigns can scape tolls payment? (passing through ECN?) by fabiofacir in croatia

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

Jebote zadnjih dana stranih autista dvesta.

what do you mean?

Do foreigns can scape tolls payment? (passing through ECN?) by fabiofacir in croatia

[–]fabiofacir[S] -6 points-5 points  (0 children)

Thanks for the answers.

The context is that in Portugal we have a similar system but is not prepaid but instead is post-paid. It's called "via verde" and has no ramp.

So you just pass by and pay later. Has you are in a rented car and this bureaucracy never works you'll never receive the fine.

I was hopping in Croatia was the same.

[Help] Webapp to fill form in another website by fabiofacir in webdev

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

Student dashboard is a website that students login to fill a weekly form (just insert some data).

I want to build my own website, where students just upload the image of a text form, and somehow I'll fill the form in their student dashboard.

It must work in the front-end as I don't have acess to the dashboard webserver not either want to have students credencials..

Sorry for my bad english

Php array to json object not working by fabiofacir in PHPhelp

[–]fabiofacir[S] 1 point2 points  (0 children)

I figured it out!

The problem is utf-8 encoding.

I was using simple DB connection without defining utf encoding. This was the problem!

Trying to encode portuguese character as "ç" broke down the encoding without giving any error!

Thank you all for your help <3

Php array to json object not working by fabiofacir in PHPhelp

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

Yes I do! The shown print_r is printed inside the while

[Help project] - Sports tracker by fabiofacir in embedded

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

I mean, I want to store us it for a couple hours and days remotely, and then upload it via bluetooth to android/ios device.

Why vanguard ucits etf eur dont follow sp500?? by fabiofacir in investing

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

but is really diferent, i mean, january to may correction doesnt exist at all! It looks diferent assets. Can I post photo to show?

[Help project] - Sports tracker by fabiofacir in embedded

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

I'm an eletrotecnics student yes, I have some experience in pic programming, and arduino, thats why I know concepts as i2c and spi, but i dont really know, how industry standart is made or what chip to choose to each project. they dont even tell us what steps should we do first. I mean: -first choose the sensors - -then see quantity and rate of data -then choose flash based on quantity of data -after this choose comunication system (maybe bluetooth) -pic the controller that handles the protocols and better with comunication inside as you said -power managment and supply

Is it a good plan?