PHP

PHP

Application and Data / Languages & Frameworks / Languages
CEO at Scrayos UG (haftungsbeschränkt)·

As we use the Woltlab Suite Core, we are bound to PHP and use it with the as a FPM. Currently version 7.4 is running on all of our hosts and we use a lot of the recently added typing and nullability features to write more reliable code that can be easier analyzed through our tools.

We also use it for some WSC embedded cron-scheduling and internal web-interfaces, but tend to use a more modern Frontend-Backend architecture for all newly created projects as we enjoy the clear differentiation between View and Controller.

READ MORE
1 upvote·28.3K views
Shared insights
at

PHP is a well-tested and huge community language which has been proven as a fast and reliable way of quick development. Here in Barcelona is one of the most popular languages, we celebrate some conferences like https://php.barcelona Also, with the addition of some framework like Symfony, you could add more reliability to the development process. Don't forget to upvote this review

READ MORE
3 upvotes·29.6K views
Shared insights
at

Symfony is probably the most popular PHP framework nowadays. We began with Symfony 2.6 and during 2019 we migrated to Symfony 4.2, also introducing #DDD and #hexagonal to our development process. Thanks to this improvements we could manage a quite big company with a small development team. If you agree, don't forget to upvote my review.

Thx

READ MORE
5 upvotes·46.9K views
Senior Software Engineer at Palinode LLC·
Shared insights

As developer at Applied Health Analytics we decided to create a React Native App. In terms of #IDE I'm a good fan of PhpStorm cause we have a lot of PHP in the backend, but I've definitely gave a try to Visual Studio Code and now is my primary JavaScript #IDE. I was impress how fast VS Code has become the No.1 @JavaScript Editor in the community.

READ MORE
6 upvotes·1 comment·111.2K views
Ravi Kumar
Ravi Kumar
·
February 10th 2021 at 2:21PM

Thanks for sharing this informative content, Great work.

To crack Scrum master interview: https://leanpitch.com/blogs/scrum-master-interview-questions

·
Reply
Needs advice
on
LaravelLaravel
and
SymfonySymfony

From a StackShare Community member: “A client is requiring me to use PHP for a custom lead management app for internal use. Should I use a framework like Laravel/Symfony or just stick with the basics?”

READ MORE
2 upvotes·30.4K views
Replies (12)
Recommends
Laravel

I use Laravel because it has integrated unit testing that making TDD a breeze. Having a View (Blade engine) making me easier to work without too many efforts in front-end.

I do recommend going into the root of programming once getting stable on any framework. Go beyond Symfony, go beyond PHP, go into the roots to the mother of programming; c++, c, smalltalk, erlang OTP. Understand the fundamental principle of abstraction.

A framework is just a framework, it helps in getting feedback quickly; like practicing dancing in front of a mirror. Getting fundamentals right is the one true key in doing it right. Programming is not hard, but abstract-programming is extremely hard.

READ MORE
10 upvotes·3.3K views
PHP Web Developer at GroundIn Software·
Recommends
Laravel
at

Laravel in this instance, because for unexperienced freshcomers it's rather easy to integrate, it has already embedded @Eloquent #ORM, models are quite normally comprised from scratch, no need to import from database layer and adjust them later, so it's in general an easy and comprehensive tool to install, use & exploit to the furthest.

READ MORE
5 upvotes·1.2K views
View all (12)
CTO at La Cupula Music SL·
Shared insights
at

Our command and event buses uses stomp as protocol, over RabbitMQ in development, and Amazon MQ in production.

Currently bus communicates Ruby and PHP based clients.

READ MORE
2 upvotes·1 comment·95.4K views
Pedro Arnal Puente
Pedro Arnal Puente
·
November 16th 2021 at 9:38PM

We have phased out Amazon MQ and RabbitMQ.

·
Reply
Needs advice
on
LaravelLaravel
and
Node.jsNode.js

I want to create a video sharing service like Youtube, which users can use to upload and watch videos. I prefer to use Vue.js for front-end. What do you suggest for the back-end? Node.js or Laravel ( PHP ) I need a good performance with high speed, and the most important thing is the ability to handle user's requests if the site's traffic increases. I want to create an algorithm that users who watch others videos earn points (randomly but in clear context) If you have anything else to improve, please let me know. For eg: If you prefer React to Vue.js. Thanks in advance

READ MORE
6 upvotes·148K views
Replies (7)
Recommends
Node.js

Node is light and scalable and has been used widely for enterprise solutions that need faster response, reliability and better performance. But at the end of the day, for me, when I start a project, I don't shoot for the stars. I build a small application with the possibility to scale in the future that will test my business idea. If the idea is getting volume then I really start thinking about how am I going to build this aiming a specific volume.

READ MORE
14 upvotes·69.4K views
CTO at Voila Cab's·
Recommends
Node.js

Hello , Our first version of www.voilacabs.com was programed with Code Ignitor PHP API's, and at times during peak hours when there were huge request's made the response time use to vary from 500 MS to 1 Minute, also at time's we might have to end up restarting PHP-FPM which use to bring things to normal.

Also PHP lacks features like promises queue, Asyc task, etc. which is supported in Node.js. In our V1 release we shifted to Node.js and since last 7 month's we see no lag in any API response, also all our API's are responding in 200-300 Milli Second's with about 8000+ Fleet's in peak hours. So my suggestion is to go with Node.js also you can either go with Mysql or MongoDB ( depending on the usage ) for DB choice's.

When it comes to hosting you can go with group replication which can be replicated across 3 different datacenters for your data safety. This approach will make your system largely scalable at 80% less price then amazon webservcies.

I hope that help's .

READ MORE
6 upvotes·69.4K views
View all (7)
Needs advice
on
PythonPython
and
AWS LambdaAWS Lambda

Hello, I am building an analytical application that uses several third-party APIs, combines the data, performs heavy computations, sorts data, and finally serves over a RESTful API which is being used by Frontend tools to visualize the results.

The problem is computation. It's a computation hungry app which has to work on tones of data before it can return a chunk to be visualized. Moreover, the third-party APIs which this application relies on actually provide data in reports format, not the RAW data, which means this data cannot be normalized to be saved in any database format.

The backend, which does computation, is PHP based serving results over a RESTful API.

What do you think is the best approach to design such an application? What tools, infrastructure, and technologies I should consider for making sure that the computation is fast for huge data, and what should I use to cache/store this kind of data for faster retrievals?

READ MORE
4 upvotes·12.2K views
Replies (2)
Recommends
AWS Lambda

wrong question. lol

python is a language, lambda is faas.

I think your question should be php vs python which can help me to get better computation? should I use lambda for my computation hungry app.

the answer is.

  1. use python if you can, python is more flexible than php, especiaslly for data processing (the restful api does not return your data, you need some processing for it)
  2. you can use lambda, it will be better to not use lambda alone, lambda has limit like 15 minutes for the maximum running time, my suggestion is to design an async solution, use AWS SQS as the queue and lambda as the worker, at front-end, you can either polling from the queue through api gateway or use graph ql subscribe or websocket.
READ MORE
Tim's Zone - A place for dev, entrepreneur and lifelong learner. (tim.bai.uno)
5 upvotes·1.1K views
Software engineer at AlgoDriven·
Needs advice
on
PHPPHPNode.jsNode.js
and
GolangGolang

I'm working in a company as a software engineer, Mainly we are focusing on PHP as the product is being developed in PHP (native) also there are a few products in Node.js, I tried to introduce Laravel but there is no luck to work on it. Now I have started learning Go language, should I focus more on Go or continue only with PHP and NodeJS. BTW I know PHP and NodeJS very well.

READ MORE
8 upvotes·22.8K views
Replies (1)

Be flexible, be agile in your personal and professional life. Don't be afraid to learn new things and step outside of your confort zone BUT with reason. Reason can be a career path or just money. Does Go belongs to your career path? Does Go belongs to your company's toolset? Do yo seek for new job oportunities? Some people follow a complete career path by using a single language i.e, PHP or java, but if you want to standout in the crowd this is not enough. You already know PHP. This is an oportunity to learn something new. In general, I would advise you to learn at least one language & library/framework per stack . This will help you to lead a team someday.

READ MORE
5 upvotes·16.4K views
Needs advice
on
StencilStencil
and
PolymerPolymer

Which one is good to go with it? We are using angular9 and PHP and are looking for excellent performance and fast development. Which tool is worth it?

READ MORE
2 upvotes·1.2K views
Replies (1)
Recommends
Ionic

Between the two, I would go with Stencil for being more stable, having a good integration with Angular and having very cool features like lazy-loading and differential bundling. Polymer is used on YouTube, which is great, but the migration to LitElement isn't really going fast, showing that it isn't very mature. However, you're using Angular 9. You will probably write your components with it.

What you're probably looking for is actually a component library, which Stencil isn't. What I suggest you take a look instead is Ionic, a web component library built with Stencil, very good alternative to Polymer.

READ MORE
4 upvotes·337 views