Discover and read the best of Twitter Threads about #php

Most recents (11)

I know you have heard of password #Salts which are similar to Nonces and used to add uniqueness to passwords and protect against pre-computed hashes (rainbow tables).

Did you also know about password #Peppers ? They are equally important too.
In modern web applications of today, you should #Pepper your passwords as well as #Salt them too before hashing them. Here is the order:

Original Password ---> Salt ---> Pepper ---> Hash ---> Store-In-DB.

However, if you #Pepper passwords wrongly. It could be very disastrous!
What do i mean by this ?

Well, the simplest (and safest - very important) way to #Pepper a password is to HMAC(Original_Password, key) it.

HMACs are resistant to length-extension attacks & brutes-force attacks.

There must be a #Pepper key used for the HMAC too
Read 16 tweets
Voilà, aujourd'hui, c'est mon dernier jour chez CCMBenchmark, après 5 ans et demi en tant que Lead dev #PHP.
C'était vachement bien ! Des super-projets, des gros challenges pas toujours simples à relever, ... 1/6
... quelques prises de bec comme on peut en trouver même dans les couples les plus stables, mais pas de guerre de clocher, ... 2/6
... un socle technique de malade pour absorber ces quelques 60 millions de visiteurs uniques par mois sur seulement une cinquantaine de machines ... 3/6
Read 6 tweets
Let’s make a #thread about what @zeevs posted and proposed a few hours ago in the #PHP #internals.
There was a little confusion about what was proposed, despite his words being quite clear. This is going to be VERY long, for I have no idea how to sum up things. ¯\_(ツ)_/¯
@zeevs First, let’s rewind the timelines a little, and have a look at history. I hate the past and history, but as pure facts, it sometimes is needed.
@zeevs PHP emerged in its raw, primitive form, circa 1994. It’s now 25 years old. The first idea was to get rid of CGI backends, crashing segfaults, maintenance nightmare, not suited for a web world. All that in the form of scripts, parsed through a slower but safer interpreter.
Read 67 tweets
@nelson_senna Cara, rola um preconceito pesado c/ desenvolvedores PHP no Brasil, infelizmente. As pessoas acham que escolher uma linguagem (ou ser escolhido por ela) define um programador como bom ou ruim. Já fui em diversos meetups e eventos e cansei de ser olhado torto por trabalhar com PHP.
@nelson_senna Cara, conheço engenheiros(as) de software que surgiram no mundo #PHP e são tão fodas quanto os(as) que surgiram nos mundos Java, C# ou Ruby, por exemplo. Não preciso nem citar nomes pois você conhece todos(as) eles(as).
@nelson_senna As pessoas são permissivas com problemas de design de certas linguagens como JavaScript, mas que viram a artilharia para criticar o PHP. Muita gente também se utilizam de FUD para desacreditar o PHP e a plataforma mesmo tendo evoluído monstruosamente nos últimos anos.
Read 14 tweets
Atendendo a vários pedidos (do @raph_almeida) tá aqui
1RT uma dica sobre desenvolvimento web e carreira, talvez alguns causos...

(bem genérico assim terei assunto 😂)

#nodejs #php #functional #vuejs #devLife #devaTip

(Este bilhete é verdade.)
1. Eu tive muitas dificuldades em entender TDD, a prática era com a realidade.
Até que entendi onde estava o erro.

Não se trata de escrever testes, mas de escrever código testável.
Programação Funcional me ajudou d+, bem como injeção de dependências.
2. Prefiro livros sobre linguagens de programação ou arquitetura do que de frameworks, libs e afins

A chance de defasagem é muito alto, sem contar que muitos são uma "documentação guiada".
Read 28 tweets
By end of 2019 WordPress will be dropping a bunch of #PHP support.

It's good to for the project I've been working on have a go live date.

5.6 in April next year and then 7.0 by end of 2019.

But also we're teaching users to keep PHP up to date. #WCUS

Yes I wish we were going to 7.1 but the foundations to keep updating is getting set. So proud of the team who have been working on it. 💪
My bad as @TacoVerdo pointed out it's PHP7 rather than 7.0.

Talked to the team and we could aim for PHP7.2.

Shout out to the rest of the team : @schlessera @felixarntz @GaryPendergast @AlexDenning @GetSource and others 🥰🥰🥰
Read 4 tweets
PHP-FIG **was** a great way to create a common ground for PHP projects, **interoperability-first** #php
PSR-0 and PSR-4 (autoloading) were a great start and made it possible to easily share libraries
PSR-1 and PSR-2 (coding standard) proved that projects were willing to work together to converge on non-critical topics
Read 7 tweets
Part 2a of the 2 part conclusion thread on #NPHP. Now that I have thought about it, I’ll need another thread to expand upon some of the nuances but since I have already called it a 2 part thread, I’ll call this one 2a and next 2b. Does this qualify as a U-turn?
Four deficiencies were identified in thread 1 for #PHP. Those were
1. Ghettoization
2. Location
3. Supply and
4. Demand

Here I will discuss how a MIHR overcomes these challenges.
As discussed building a low income housing scheme will lead to ghettoization and considering high prices of land within cities, will only make sense in outskirts with limited or no transport/infrastructure. MIHR makes it viable near urban transit routes.
Read 17 tweets
This is part 1 of my 2 part concluding thread. This one will focus on why #NPHP as proposed isn’t going to work. It presumes that you have read my previous threads on the topic.
Part 2 which I plan to do later will show how Mixed Income High Rises #MIHR would offer the best bang for the buck / highest and quickest number of units delivered. I will also summarize how #MIHR overcomes all the disadvantages of current #NPHP.
Three models have been proposed so far: housing society of low income plots, housing society of low income houses and up to 4 storey mid rise low income apartments (hereafter referred to as proposed housing plan or PHP). Let me count the DISADVANTAGES of PHP:
Read 25 tweets
If #ETN #Electroneum @electroneum #ETN242 $ETN was a #startup I will definitely put all my money to them like I made during the #ICO stage:
BCS i see the potential with this hybrid model #fintech & #blockchain #company & like the potential with the GROWTH we have #instantpayment
2/3 We have integration to #WooCommerce & #magento and we are searching more clever people #developers who help us with integration to more #webshops #eshops with other #plugins so if you want to earn money accept as as #payment option like #vendor or check our #hackerone program
3/3 For #developers #PHP experts are there links you can be rewarded if you help us with #security #hacks #problems #fix some #issue GO
2 Plugins needed for #eCommerce #Opencart #WIX #prestashop #omnipay #jigoshop #drupal THX lot…
Read 4 tweets
Working on

🔥 Web app to convert Markdown to Slideshow.

#webApp #webdev #php #js #markdown
You can live edit your markdown.
Any markdown slide file can be imported like this…
Read 4 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!

This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!