P? #2618
Replies: 4 comments 4 replies
-
I think that "Phone" is as good a guess as any! +1 for merging it with |
Beta Was this translation helpful? Give feedback.
-
Since |
Beta Was this translation helpful? Give feedback.
-
I hear you. So are you actually using the Pofficium interface? Somehow I thought you actually emit cleaned up HTML, scrape out the actual content, and wrap it. I didn't realize the Pofficium interface was important as such. And surely both interfaces are archaic: obsolete html barely tolerated by modern browsers; user-specified screen geometry; server side navigation and calendar calculation; tiny unlabeled boxes; radio buttons that behave like hyperlinks; homebrew style-language; etc. etc. But in fact the difference between the two officium entry points is very small, and the difference between the two UIs is half handled by conditionals in webdia already. So what I'm proposing is to use the same conditionals in officium.pl, in maybe four places, so that the remaining five or six hundred lines of code don't need to be duplicated and maintained twice. No removal of functionality. I suppose the result could be called Pofficium instead, if it matters. |
Beta Was this translation helpful? Give feedback.
-
There are vestiges of features, including more comprehensive expand, and partial bug fixes like octavam, and errors like browserdate, that are all reasons why I want to eliminate Pofficium.pl and port the tiny set of differences into officium.pl. Some of those features might eventually disappear or be improved away, but I want to be able do that in one place, not two. #lazyprogrammer #DRY As for the $date1 argument to precedence, it might have sorta been right at some point in the past, but a glance at the logic shows that it makes not a scrap of difference currently, and the argumentless call is the better form (for now). Pofficium pulls the date parameter because it wants to do trivial date calculations on the server. For no good reason that I can see, and officium more sensibly does them on the client. I'd change that, except that it would change the UI at the HTTP and HTML levels, which I am at the moment trying to avoid. |
Beta Was this translation helpful? Give feedback.
-
Does any one know what the P in Pofficium stands for? Pocket? PalmPilot? Parvo? or maybe just Phone?
There really is almost no difference at all between Pofficium and Officium. At least some of the visual difference is browser rendering side effects. Almost all the rest is that Pofficium seems averse to popups.
The user can't choose different display options between the two, the only reason for having the difference as far as I can see.
I'm certainly to obsolete the file Pofficium.pl, and merge the few lines of difference into officium.pl, with a parameter like ?m=1 .
Beta Was this translation helpful? Give feedback.
All reactions