Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#76 2016-08-24 21:22:38

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Erm, so the counter argument is because they want to support old versions of Android? And how do you propose we serve those accessibility helper texts that I enclose in the icon spans if we use a font and glyph and undefined Unicode numbers that may well get defined at any time?

Offline

#77 2016-08-24 22:20:06

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Actually I find the whole argument specious as it relates to the admin panel of a CMS.

In that article his points are:

  1. Screen readers may pronounce the icons (very rarely if PUA is used)
  2. They Encroach on Emoji Turf (seriously? in this context? how?)
  3. They Fail Poorly and Often (when and where have you seen failures? I’ve only seen them when a site I build is misconfigured.)
  4. They Never Looked Right (mine and most people’s seem to, what is he seeing, imperfect antialiasing?)
  5. You’re Probably Doing It Wrong (So don’t.)

So let’s get down to it. You’ve got a wacking big sprite that you have to know grid positions for in order to adapt and it does not scale easily.

My point is simply do the benefits of providing accessibility to massively edge-cases really justify to inflexibility to all, or is that whole argument just silly?

And if you say “no it’s not silly and sprites are definitely more graceful”, I’ll drop any objection and merrily make a hacked admin like I usually do anyway. But my vote is to provide an admin UI that people can adapt without playing battleship.

Offline

#78 2016-08-25 06:42:46

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Ok we’ll have to agree to disagree. Personally I feel SVG is the correct and cleaner solution. Maybe you’re right that accessibility is edge-case where Textpattern is concerned but it is an area I’m interested in and I strive to do it correctly.

I’ll think about ways to help you swap out the logo sprite more easily though.

Offline

#79 2016-08-25 13:47:45

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

philwareham wrote #300771:

Erm, so the counter argument is because they want to support old versions of Android?

I assume the problem isn’t actually “old versions of Android” but rather that Chrome isn’t available on them and the old Android Browser didn’t support this. I get what he meant but that was kind of an odd explanation.

Offline

#80 2016-08-25 14:49:06

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Hi Devs,

Got a chance to give 4.6 a spin on the demo site.

I like the backend changes, really clean, no tagbuilder, etc.

My only concern, being a long time user, is the size of the distribution.

4.5.7 = zip (604kb), disk (2.2mb)
4.6.0 = zip (1.42mb), disk (4.8mb)

The distribution has doubled in size, mostly it’s the vendors and admin-themes folders.

Lean and mean, it’s how I like my PHP apps, which is why I like FluxBB over phpBB, DokuWiki over MediaWiki, etc. It’s one of the main reasons I chose Textpattern as my CMS back in the day. Such a small distribution, made it so easy to keep multiple sites updated, and of course, less code equals less bugs, less security issues.

As always, it’s just my humble opinion, otherwise, 4.6 is looking good.

Offline

#81 2016-08-25 14:59:53

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Yes, theme assets, PSR-style coding and other new libraries which enhance Textpattern (such as jQuery UI and PrismJS) mean a larger download I’m afraid. The price of progress – not much we can do about that.

I will be able to slim down the packaging a bit when CSS Mask becomes more supported (we can ditch the multiple colour variants of the admin theme image sprite).

Tag builder returns in beta3 very soon anyway (although the code has always been in the betas, just not hooked up, so that doesn’t add anything to the download size).

Offline

#82 2016-08-25 15:02:30

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 335
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

hcgtv wrote #300801:

The distribution has doubled in size…

It has, but you know how it compares to other CMS options. 2x tiny – is still tiny.

And while 4.6 has grown – in my tests it is even faster than previous versions.

Offline

#83 2016-08-25 15:28:01

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

philwareham wrote #300803:

Tag builder returns in beta3 very soon anyway (although the code has always been in the betas, just not hooked up, so that doesn’t add anything to the download size).

Will it be on the right side menu, or is it coming back to the left, where it takes away space from the Pages and Forms?

towndock wrote #300804:

And while 4.6 has grown – in my tests it is even faster than previous versions.

I think the new parser from Ruud and Oleg has kept TXP fast while adding new features.

Mind you, I’m all for moving forward, just nostalgic about tiny code bases.

Offline

#84 2016-08-25 15:32:11

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

hcgtv wrote #300805:

Will it be on the right side menu, or is it coming back to the left, where it takes away space from the Pages and Forms?

Neither of those – see here

Offline

#85 2016-08-25 15:37:10

hcgtv
Archived Plugin Author
From: Key Largo, Florida
Registered: 2005-11-29
Posts: 2,722
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

philwareham wrote #300807:

Neither of those – see here

Firefox is showing it on the left, which takes away space.

Can it be toggled off in preferences?

PS. Never mind, the demo site has the menu on the right, which threw me. I see the tag builder popup, nice.

Last edited by hcgtv (2016-08-25 15:39:10)

Offline

#86 2016-08-25 15:39:25

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,565
Website GitHub Mastodon

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Huh? It’s a moveable dialog pane, drag it wherever you like! Just checked in Firefox here and it works as intended. Or do you mean the page list?

EDIT: oh :)

Last edited by philwareham (2016-08-25 15:40:12)

Offline

#87 2016-08-25 16:55:55

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,728
GitHub

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

Uh, maybe I missed a memo: multisite stuff isn’t in beta 1 or 2.

No /sites directory.

Offline

#88 2016-08-25 16:59:03

johnstephens
Plugin Author
From: Woodbridge, VA
Registered: 2008-06-01
Posts: 1,000
Website

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

@gaekwad, you have to download the tgz version for multi-site support:
textpattern-4.6.0-beta.2.tar.gz

The zip archive hasn’t included multi-site for a while now.

Last edited by johnstephens (2016-08-25 16:59:39)

Offline

#89 2016-08-25 17:01:29

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,728
GitHub

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

johnstephens wrote #300819:

The zip archive hasn’t included multi-site for a while now.

Ah, I have a hazy memory of this, now you mention it – thanks for the reminder!

Offline

#90 2016-08-25 21:34:32

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,449
Website GitHub

Re: Feedback to: Textpattern CMS 4.6.0 beta 2 released

philwareham wrote #300803:

theme assets, PSR-style coding

And documentation! A vast number of functions have chunky PHPDoc style headers now, with parameter lists and code examples. And every file has a full preamble copyright message. That takes up a tonne of space. As Phil mentioned, adopting the PSR convention of spaces-instead-of-tabs nearly doubled the byte count in one commit (it would have almost tripled it, but we reduced the core’s bizarre double-indentation overall by one tab stop).

Combined with the fact that a lot of code has been split into multiple files now (and a lot of old functions are still around as stubs for backwards compatibility, that simply use classes in the vendors directory), it adds up to a lot more bytes in comment blocks alone.

I’m with Bert on the whole size thing. I love mean and lean where amazing stuff was packed into a tiny footprint. Harks back to my Amiga days where you had no choice but to cram cram cram, when all you had available was 900KB on a floppy disk. But try and debug one of those suckers. Disassembling that was an art! At least with docs and classes the code’s more readable. The price of progress, as you say.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB