Search found 10 matches

by AlfredoRamos
Thu Jan 14, 2021 12:23 pm
Forum: [4.x] Discussion
Topic: Doctrine DBAL prepared statement troubles
Replies: 20
Views: 110670

Re: Doctrine DBAL prepared statement troubles


That is incorrect.


Indeed, but just the part that Doctrine DBAL was built on top of PDO.

I've been using that for years and just found out that's not true 🤦‍♂️

So, to use named parameters on MySQL it just need to use the pdo_mysql driver.

<?php

require_once __DIR__ . '/vendor/autoload.php ...
by AlfredoRamos
Wed Jan 13, 2021 9:31 pm
Forum: [4.x] Discussion
Topic: Doctrine DBAL prepared statement troubles
Replies: 20
Views: 110670

Re: Doctrine DBAL prepared statement troubles

CHItA wrote: Wed Jan 13, 2021 8:31 pm mysqli doesn't support named params. Hence their drivers don't support both.
:thinking:

Sorry, I don't understand the issue :?

Doctrine DBAL is built on top of PDO not mysqli, and pdo_mysql supports named parameters on prepared statements.
by AlfredoRamos
Wed Jan 13, 2021 7:52 pm
Forum: [4.x] Discussion
Topic: Doctrine DBAL prepared statement troubles
Replies: 20
Views: 110670

Re: Doctrine DBAL prepared statement troubles

I vote for Doctrine DBAL :+1:

- Prepared statements
- Named parameters are much easier to maintain.
- More fetch modes
- Class mapping


Only positional parameters are supported by all drivers


The Oracle driver does not support positional parameters, only named parameters, that's why the added ...
by AlfredoRamos
Thu Jul 02, 2020 6:21 pm
Forum: General Development Discussion
Topic: Deleted
Replies: 5
Views: 17888

Re: What are the supported Internet Explorer versions for each phpBB version?

As far as I know phpBB 3.3.0 supports up to Internet Explorer 11, at least that's the requirement for extensions and styles to pass validation.

I don't see the point for older versions than 3.3.0, because they no longer receive support.
by AlfredoRamos
Mon Apr 13, 2020 1:50 am
Forum: [3.x] Style Development
Topic: Browsers! and how we develop for them
Replies: 3
Views: 39070

Re: Browsers! and how we develop for them

That's good news.

I can't wait to refactor some of my extensions to use ES6+ (arrow functions, modules, classes, fetch(), etc.) and stop using polyfills explicitly for IE11 :lol:
by AlfredoRamos
Thu Oct 24, 2019 6:24 pm
Forum: [3.x] Discussion
Topic: phpBB 3.3.0-b1 released
Replies: 47
Views: 369253

Re: phpBB 3.3.0-b1 released

The extension catalog will be part of 3.3.x? I've been testing that in the master branch.
by AlfredoRamos
Thu Aug 29, 2019 7:05 pm
Forum: [3.x] Discussion
Topic: DocBlocks
Replies: 15
Views: 45696

Re: DocBlocks

I do not agree with point 2, personally I prefer adding an empty line just before @return , it's more readable for me that way, specially where you have more than 3 variables.

Personally I prefer something like:

/**
* This is a short description of the function,
* just a simple 1-2 liner ...
by AlfredoRamos
Thu Jan 24, 2019 8:39 pm
Forum: [3.x] Tickets Discussion
Topic: [PHPBB3-15928] Remove support for downloading backups
Replies: 18
Views: 78936

Re: [PHPBB3-15928] Remove support for downloading backups


phpMyAdmin, a commonly used web app, has the very same download/export feature. Hosting providers offer similar functionality through admin panels, also web-based. And it goes without saying that browser operated cloud software is becoming more and more prevalent.

Not all administrators have ...
by AlfredoRamos
Thu Jan 03, 2019 3:01 am
Forum: [3.x] Style Development
Topic: Ideas. Standard Style Improvements.
Replies: 48
Views: 242409

Re: Ideas. Standard Style Improvements.

I like the idea of having a dark mode in the same style/theme, especially when you're reading on dark rooms.

I did a custom style with a companion extension for a board of one of my clients some time ago precisely to accomplish that, but having it that function built-in would be nice.
by AlfredoRamos
Mon May 21, 2018 10:19 pm
Forum: [3.x] Tickets Discussion
Topic: I would like to request for an event
Replies: 3
Views: 19085

Re: I would like to request for an event

This is not the right place for event requests, and you need to provide information about it.

https://www.phpbb.com/community/viewtop ... &t=2209821