Fancy Hints

  • Home
  • Blog
  • Coding
    • .Net
    • Csharp
    • iOS
    • CSS
    • Python
    • Java
    • Node.js
    • jquery
    • Javascript
    • Android
    • PHP
  • Tech
    • Systems
    • Digital
    • Computer Science
    • Security
    • Hosting
    • Website
    • Mobile
  • Donate

Tag: php

Coding

Mocking dependencies vs. mocking the usage of dependencies

Say you have a class A that depends on B and C. You can either inject B and C into A and mock them during testing, or you can factor out the methods inside A Read more…

By Umar Khan, 5 years ago December 30, 2020
Architecture

How is your architecture set up amongst multiple projects?

When working on large projects with one codebase you have to set up everything only once. But those of you who do a lot of small projects, how do you cope with it? Do you Read more…

By Umar Khan, 5 years ago December 30, 2020
Coding

Meteorite DB – Find meteorites near you

During Christmas, i spent a few days working on a small project: https://meteoritedb.com/ Any feedback or ideas are appreciated !! (I think i’m not breaking the rules. It’s a small personal project and i honestly Read more…

By Umar Khan, 5 years ago December 30, 2020
Coding

Generalized ADTs, or how case specific functions make a lot of sense (aka currently worked on Enum RFC)

Saying “Haskell has this feature and it allows you to express some common Haskell patterns more succinctly” does not imply “Adding this feature to PHP will allow you to do the same”. Haskell is a Read more…

By Umar Khan, 5 years ago December 28, 2020
Coding

Top 3 Best/Worst Changes in PHP 8.0?

Mine are: (Best) Named Arguments — I usually like to stick to syntax which is common among the majority of languages I know (multi-lingual), but this looks pretty useful to me. I might try it. Read more…

By Umar Khan, 5 years ago December 28, 2020
.Net

Multimapping error with Dapper

I’m using Dapper to pull a list of Employee objects with their emails, which are stored in another table. I’m getting an error:System.NullReferenceException: 'Object reference not set to an instance of an object.' When I Read more…

By Umar Khan, 5 years ago December 28, 2020
Coding

Interop in PHP Should Not Be Exceptional

Throwing away Exceptions as a tool is a terrible idea. (“Go away Rust, you’re drunk”) You’ve described several different types of problems in your example code and attributed all of them to … not being Read more…

By Umar Khan, 5 years ago December 25, 2020
Coding

I wrote a book on PHP Development with Windows Subsystem for Linux (WSL)

You can get the digital version for free (Just trade your email) https://www.phparch.com/books/php-development-with-windows-subsystem-for-linux-wsl/ The work is self-recommending. Looking forward to reading it! Just started reading it earlier. Thanks! Any specific reasons on why not using Read more…

By Umar Khan, 5 years ago December 25, 2020
Coding

How come PHP gets so much hate?

I’ve tried lots of different web stuff. Node, Nextjs, React, Svelte, Django, templating engines. I’ve used PHP before too but that was a long time ago. I want to try it again, just haven’t had Read more…

By Umar Khan, 5 years ago December 25, 2020
Coding

PHP role in Web Development

So I would like to enhance my ability in web technologies from html/css to javascript and php. I have two questrions: What is the role of PHP in a website? Is it just used to Read more…

By Umar Khan, 5 years ago December 25, 2020

Posts pagination

Previous 1 … 1,681 1,682 1,683 1,684 Next
Recent Posts
  • What does Chevron mean? Chevron’s ‘V’ logo explained
  • The AI problem nobody is talking about
  • Dave Ramsey delivers stern message about Trump Accounts
  • Building the first dementia village in the U.S.
  • Qatar energy minister sends strong message on $150 crude
Recent Comments
    Archives
    • March 2026
    • February 2026
    • January 2026
    • December 2025
    • November 2025
    • October 2025
    • September 2025
    • August 2025
    • July 2025
    • June 2025
    • May 2025
    • April 2025
    • March 2025
    • February 2025
    • January 2025
    • December 2024
    • November 2024
    • October 2024
    • September 2024
    • August 2024
    • July 2024
    • June 2024
    • May 2024
    • April 2024
    • March 2024
    • February 2024
    • January 2024
    • December 2023
    • November 2023
    • October 2023
    • September 2023
    • August 2023
    • July 2023
    • June 2023
    • May 2023
    • April 2023
    • March 2023
    • February 2023
    • January 2023
    • December 2022
    • November 2022
    • October 2022
    • September 2022
    • August 2022
    • July 2022
    • June 2022
    • May 2022
    • April 2022
    • March 2022
    • February 2022
    • January 2022
    • December 2021
    • November 2021
    • October 2021
    • September 2021
    • August 2021
    • July 2021
    • June 2021
    • May 2021
    • April 2021
    • March 2021
    • February 2021
    • January 2021
    • December 2020
    • November 2020
    • October 2020
    • September 2020
    • June 2019
    • May 2019
    • July 2018
    • February 2018
    • January 2018
    • December 2017
    • November 2017
    Categories
    • .Net
    • Android
    • Architecture
    • BigData
    • c++
    • Cloud
    • COBOL
    • Coding
    • Computer Science
    • Cross-Platform
    • crypto
    • Cryptocurrencies
    • Csharp
    • CSS
    • Data science
    • digital
    • Email
    • English
    • Hosting
    • HTML
    • Investments
    • iOS
    • Java
    • Javascript
    • jquery
    • Machine Learning
    • Mobile
    • Node.js
    • PHP
    • Programming
    • Python
    • Security
    • SQL
    • Systems
    • Tech
    • Uncategorized
    • Web-services
    • Website
    • Home
    • Blog
    • Coding
    • Tech
    • Donate
    Hestia | Powered by WordPress