texasman1979

  • Posts: 99
Wap2, imode?
« on April 5th, 2011, 06:07 PM »
I was wondering whats thoughts and considerations there were toward the lower platforms? It really would be nice to have a bit better wap2 at the very least, maybe a bit more interactive, a bit more interesting. And is dragoon either going to write a wedge version if smf4mobile, or maybe even an invluded package? Thx
LOGIC is a FOUR letter word! :)


Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Wap2, imode?
« Reply #1, on April 5th, 2011, 06:09 PM »
Original WAP and imode are both gone. What to do with WAP2 is still a question but leaving it in with few enhancements, and a decent mobile theme are the plans thus far.
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

texasman1979

  • Posts: 99

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Wap2, imode?
« Reply #3, on April 5th, 2011, 06:41 PM »
As for Dragooon-- up to him! He could start now-- or never ;)

:edit: 4k posts!

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Wap2, imode?
« Reply #4, on April 5th, 2011, 06:42 PM »
I may write one up for Wedge, but when it has matured a bit more(Actually when Nao/Arantor aren't radically changing it every week).
The way it's meant to be

Nao

  • Dadman with a boy
  • Posts: 16,079
Re: Wap2, imode?
« Reply #5, on April 5th, 2011, 06:49 PM »
I see you've learned your lesson! :niark:
Posted: April 5th, 2011, 06:48 PM

Of course, if it was part of the vanilla package, we could update it along with our other modifications :P

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Wap2, imode?
« Reply #6, on April 5th, 2011, 06:51 PM »
Quote from Nao/Gilles on April 5th, 2011, 06:49 PM
I see you've learned your lesson! :niark:
Posted: April 5th, 2011, 06:48 PM

Of course, if it was part of the vanilla package, we could update it along with our other modifications :P
Oooo tempting. I may give it a shot and port the thing over and try to maintain the features(It'll be easier since everything's using jQuery), but not in the next 2 weeks atleast.

texasman1979

  • Posts: 99
Re: Wap2, imode?
« Reply #7, on April 5th, 2011, 08:13 PM »Last edited on April 7th, 2011, 04:50 AM by texasman1979
...

DoctorMalboro

  • I like rounded borders.
  • Posts: 316
Re: Wap2, imode?
« Reply #8, on April 5th, 2011, 10:50 PM »
An IRC chat is heavy and most host don't allow them... A simple shoutbox would be pretty neat.

texasman1979

  • Posts: 99
Re: Wap2, imode?
« Reply #9, on April 5th, 2011, 10:51 PM »Last edited on April 7th, 2011, 04:50 AM by texasman1979
...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Wap2, imode?
« Reply #10, on April 5th, 2011, 10:59 PM »
Quote
It could be done completely in php and jquery
Yes, it *can*, but I strongly advise against it, because it will flatten any server once it gets remotely busy, no matter how you have it configured.

Option 1: COMET style, long running HTTP kept-alive polls, held open until there's an update... which is efficient right up until you consider that Apache will force a new PHP threadprocess for each connection, which means you're talking a persistent weight of 20MB or so per connection, and it doesn't take many connections before you either hit the oomkiller, or you've exhausted the memory pool for genuine connections.

If you want to go down the road of nginx+PHP-FPM at this point, be aware that most hosts don't support that yet, because it's fundamentally different to how they're set up. Yes, it will cope with thousands of edge connected HTTP connections driven by event handling, and use little memory in handling it, but you lose the ability to properly authenticate to it.


Option 2: AJAX style, regular polling. Let's see, even with 20 users polling every 10 seconds (which is a low number of users and much slower than most of the existing AJAX chat solutions), you still have to run the gamut of Wedge startup in order to authenticate the user, which means you're pulling an awful lot into memory to achieve it and still be efficient.


Before I go any further, let me make it known that on one site I run, I *have* such a system; I wrote it from scratch as a plugin to SimpleDesk (which means it installs without any file edits of its own whatsoever). It's AJAX style, and it's very, very carefully written to be incredibly efficient; it even uses a specially modified version of the SMF API that I wrote for 2.0 to make authentication an order of magnitude cheaper than SSI.php.

IOW, been there, seen it, done it, and it would flatten most low end hosts, even with the lightweight solution I have.

texasman1979

  • Posts: 99
Re: Wap2, imode?
« Reply #11, on April 5th, 2011, 11:13 PM »Last edited on April 7th, 2011, 04:50 AM by texasman1979
...

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Wap2, imode?
« Reply #12, on April 5th, 2011, 11:18 PM »
Great, so in addition to trying to handle PHP, MySQL, various server systems, and learn iOS in my spare time, we gotta learn desktop programming as well...

Honestly, I can tell you now, to save you wasting any more time on this, we are not going to do it. Someone else can deal with all the issues that arise, because we have better things to burn our time on.

texasman1979

  • Posts: 99
Re: Wap2, imode?
« Reply #13, on April 5th, 2011, 11:46 PM »
Damn arantor, way to think positive. Noone said i was going to use the arantor 2000, remote programmer, for the ap. Lol i was thinking if a spin off addition to wedge later on when i can actually help code it. Lol

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Wap2, imode?
« Reply #14, on April 5th, 2011, 11:48 PM »
That's the thing: I think pragmatic, not positive. A project I was working on towards the end of last year had to be scalable, by which I mean, single server, handling tens of thousands of concurrent live connections, and run it in PHP - I've been there, seen what's involved in making stuff like this work. It's specialised at best, at worst... it's that step beyond.