Name poll! For something useless! Yay!
Poll

What new names for Sources (the *.php folder) and Themes (the *.template.php folder)?

/backend and /frontend, respectively.
5 (31.3%)
/app and /html, respectively.
7 (43.8%)
/engine and /interface, respectively.
2 (12.5%)
/something /else, respectfully.
2 (12.5%)
/stop /bothering /me, disrespectfully.
0 (0%)
Total Members Voted: 11

Nao

  • Dadman with a boy
  • Posts: 16,079

Aaron Smith

  • The mini menus on Thoughts... Damn Sexy!
  • Posts: 39

Wanchope

  • Posts: 234

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Name poll! For something useless! Yay!
« Reply #3, on January 14th, 2014, 11:06 AM »
Yes, that was me. :P

I don't want to influence the poll votes because I have a personal preference (which is possibly unlike what you might think), but I'm not 100% sure yet, and I thought that maybe doing a poll could help me choose. I may not choose the most popular option (or I just might), but it's helping me set my thoughts straight.

Contrary to what I say in the poll title, it's something important for me to get right. If I get confused by folder names, it just makes common tasks harder for me. Ideally, I would keep /Sources and /Themes, and have /javascript, /languages and /skins inside /Themes, but it just doesn't make sense. Even my own personal comfort isn't enough to justify having skins as a sub-folder of the *.template.php folder. Themes are gone from Wedge, it needs to be made clear. Skins are here to stay, because they're better in every respect.
Re: Name poll! For something useless! Yay!
« Reply #4, on January 14th, 2014, 11:07 AM »
I've updated the poll to allow you guys to vote for one or two options, instead of just one. This way you can just choose to 'eliminate' the option you like the least.

Norodo

  • Oh you Baidu, so randumb. (60 sites being indexed at once? Jeez)
  • Posts: 469

Farjo

  • "a valuable asset to the community"
  • Posts: 492

Oracle

  • Posts: 78

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Name poll! For something useless! Yay!
« Reply #8, on January 14th, 2014, 01:02 PM »
Quote from Norodo on January 14th, 2014, 11:50 AM
Still think /app and /html would be best.
I was against 'app' originally, but given that 'app' and 'html' are roughly the same length, it's easier on the eyes on my test folder.
Adopting app for this poll choice, so all those who voted for the engine/html combo are now in the app/html combo. Feel free to change your votes.

Quite honestly, I'm 50/50 between app/html and backend/frontend, right now. Slight advantage towards the crowd's current preference. Sources/Themes is still a favorite of mine too, but it's unrealistic to keep it. The only 'remainder' of Sources will be the loadSource function, which I'm not planning to rename. (Otherwise, loadTemplate should have been called 'loadTheme' from the start, but that name's taken... So, 'app/backend' has Source files, and 'html/frontend' has Template files, so loadSource and loadTemplate, and that's all.)

Thank you guy to putting up with my silly polls and questions. I know it doesn't REALLY matter to you guys, but I appreciate that you're not too judgmental on the fact that it matters to me... :^^;:

I'm pretty much set on an official public source code release of Wedge tomorrow. But that's my personal goal. If I can do it by January 20, I won't be too mad at me. I still haven't tested installing the forum from scratch, which is probably going to break horribly, ah ah.

Pandos

  • Living on the edge of Wedge
  • Posts: 635
Re: Name poll! For something useless! Yay!
« Reply #9, on January 14th, 2014, 01:40 PM »Last edited on January 14th, 2014, 03:48 PM
Yes. Install from scratch is broken. But it can be fixed. :)
Code: [Select]
A critical error has occurred.This installer was unable to find the installer's language file or files. They should be found under:
/Themes/default/languages

And after fixing, there will be for sure errors with Sources  :lol:
Code: [Select]
Warning: require_once(/usr/local/var/www/wedge1/Sources/Load.php): failed to open stream: No such file or directory in /usr/local/var/www/wedge1/install.php on line 1976

And after fixing the error is below:
Code: [Select]
Fatal error: Call to undefined function loadSource() in /usr/local/var/www/wedge1/install.php on line 1978


So it's a little bit more work. You'll have to change:
Settings.php
Settings_bak.php
install.php
Not sure what causes the last error. Any hint?
# dpkg-reconfigure brain
error: brain is not installed or configured

Wanchope

  • Posts: 234
Re: Name poll! For something useless! Yay!
« Reply #10, on January 14th, 2014, 04:21 PM »Last edited on January 14th, 2014, 04:28 PM
But I can only vote once, it doesn't matter anyway. My second vote should have been like.

bread/ and butter/ angrily :)

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Name poll! For something useless! Yay!
« Reply #11, on January 14th, 2014, 04:22 PM »
Last error is. Because loadSource is now defined in index.php (otherwise I can't minify Load.php later), so i need to load that too.

Anyone who voted before I updated the poll, can you revote? Just click 'remove my vote'. Thanks! A bit too tied right now...

Aaron Smith

  • The mini menus on Thoughts... Damn Sexy!
  • Posts: 39
Re: Name poll! For something useless! Yay!
« Reply #12, on January 14th, 2014, 06:38 PM »
I think I still prefer /engine and /interface, but they're too long and /app and /html is so nice and small so I kept my vote with app/html.

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Name poll! For something useless! Yay!
« Reply #13, on January 14th, 2014, 06:53 PM »
'kay, I'm going for app/html.
I did some more tests, planned a 'fake' commit, and it all looked good to me, so it's on.

I can still change my mind before I push to github, thanks to the magic of git filter-branch, but right now, I'd rather focus on getting the thing out, and then getting used to the new structure... :P (Which should be easier, now that I've been able to magically retain exactly the same folder order inside /core compared to the old theme system era.)

Wanchope

  • Posts: 234