Telegram_2020-05-26T12

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 05 > 26 >

Telegram_2020-05-26T12

Telegram link

 

2020-05-26T12:10:11

 

Yeah, a typical site will have hundreds or thousands of files

 


 

Telegram link

 

2020-05-26T12:10:50

 

and if, for instance, a file that is accessed only through AJAX, and it has an error in the SQL — I can easily fix it and replace it

 


 

Telegram link

 

2020-05-26T12:29:43

 

All those separate files also often lead to breakage... people forget to update all files and most things are not tightly bound and late bound so errors only show up at run time. PHP is horrid in so many aspects.

 


 

Telegram link

 

2020-05-26T12:30:00

 

I agree

 


 

Telegram link

 

2020-05-26T12:30:22

 

Ive rarely met a dev who actually like PHP and when i do its usually a dev with minimal experience and usually nothing other than PHP - ie theyve never used anything else.

 


 

Telegram link

 

2020-05-26T12:30:25

 

But I can fix a huge class of simple errors without touching anything else

 


 

Telegram link

 

2020-05-26T12:30:38

 

And you can break stuff unknowingly more likely the same way :)

 


 

Telegram link

 

2020-05-26T12:31:13

 

Yeah, I had to use it for a year — and the thing that was most useful to me — was learning the architecture of web apps at a deeper level

 


 

Telegram link

 

2020-05-26T12:31:36

 

And the language itself is uglier than a hyena

 


 

Telegram link

 

2020-05-26T12:31:39

 

Can't stand it

 


 

Telegram link

 

2020-05-26T12:31:44

 

It will force you to. :) For your IW app, try the HTML redirect... very easy and very effective.

 


 

Telegram link

 

2020-05-26T12:32:02

 

I don't know how to use that

 


 

Telegram link

 

2020-05-26T12:32:13

 

yeah PHP is fine for small scripting tasks and not bad at that.. but as soon as you get beyond a few hundred lines it falls over quickly.

 


 

Telegram link

 

2020-05-26T12:32:15

 

redirect...

 


 

Telegram link

 

2020-05-26T12:32:41

 

There are several ways but the easiest is make a simple JS redirect that says \loading\ and goes to your start URL

 


 

Telegram link

 

2020-05-26T12:32:57

 

then when upgrade, put a new instance of app at new URL, and then change the HTML to point to it.

 


 

Telegram link

 

2020-05-26T12:33:05

 

old users will remain at old instance, new users will go to new instance.

 


 

Telegram link

 

2020-05-26T12:33:43

 

ie type: link mydomain.com \\myapp1

 

next is

 

type: link mydomain.com \\myapp2

 

And you can cycle back and forth or just go 1, 2, 3, 4 and keep taking offline older ones.

 


 

Telegram link

 

2020-05-26T12:34:21

 

can I hide the myapp2?

 


 

Telegram link

 

2020-05-26T12:34:22

 

HTTP.sys lets you easily share ports with diff URLs.. IIS too but HTTP.sys is way easier, especially for automation.. a bat file with a few lines could do what you want.

 


 

Telegram link

 

2020-05-26T12:34:53

 

well you need some thing to differentiate instances.. ports (which have their own set of issues) or paths or something....

 


 

Telegram link

 

2020-05-26T12:35:21

 

you coudl use type: link ww1.lorenscompany.com and ww2....

 


 

Telegram link

 

2020-05-26T12:36:00

 

that's a possibility

 


 

Telegram link

 

2020-05-26T12:36:07

 

we wanted a clean, fixed URL

 


 

Telegram link

 

2020-05-26T12:36:21

 

but we could make it reasonably transparent

 


 

Telegram link

 

2020-05-26T12:36:50

 

www. could be your start point redirect... then it redirects to ww1 or ww2

 


 

Telegram link

 

2020-05-26T12:37:19

 

so to the user, it is a fixed url.. only changes after they start the app... many older load balancers worked this way.

 


 

Telegram link

 

2020-05-26T12:37:20

 

makes sense

 


 

Telegram link

 

2020-05-26T12:38:50

 

and as soon as everyone is off the old one, I can bring them back to the original one))

 


 

Telegram link

 

2020-05-26T12:39:11

 

or leave them on new... and it becomes \current\... then next time 1 becomes new...

 


 

Telegram link

 

2020-05-26T12:39:33

 

ie 1 is current now...

 

upgrade:

 

1 becomes old, 2 becomes current.

 

next upgrade..

 

2 becomes old, 1 becomes current.

 


 

Telegram link

 

2020-05-26T12:40:13

 

yeah, but if we wanted to the original URL to be showing as much as possible, we could just bring 'em all back as quickly as possible

 


 

Telegram link

 

2020-05-26T12:40:18

 

I got it, thanks for the suggest!

 


 

Telegram link

 

2020-05-26T12:42:00

 

you could use a start URL, then set new session of each app as root url as a redirect back to www.. that way if they enter ww1.. they will go to www... which wil then sent hem back to current be it 1 or 2...

 


 

Telegram link

 

2020-05-26T12:42:22

 

ie any new sesino witout start URL you redirect back to www so it can redirect then again to 1 or 2

 


 

Telegram link

 

2020-05-26T12:42:32

 

that'll work

 


 

Telegram link

 

2020-05-26T12:42:36

 

and for redirect from www to 1 or 2 use start paths.

 


 

Telegram link

 

2020-05-26T12:43:03

 

This huge IW app that I'm building — will run for months or years, we're not sure yet

 


 

Telegram link

 

2020-05-26T12:43:27

 

When it's finished we will switch resources to developing an app, so that we don't have to deal with back button issues and the like

 


 

Telegram link

 

2020-05-26T12:44:29

 

IW can handle the back situation pretty well by disabling it effectively in many cases. Alexandre can assist there.

 


 

Telegram link

 

2020-05-26T12:44:47

 

17 can deploy as SPA which also can kill the back button even better.

 


 

Telegram link

 

2020-05-26T12:44:48

 

Yeah, I'll get that feature when I upgrade

 


 

Telegram link

 

2020-05-26T12:44:51

 

Looking forward to it

 


 

Telegram link

 

2020-05-26T12:45:03

 

Yeah, gotta have true SPA soon

 


 

Telegram link

 

2020-05-26T12:45:31

 

Right now — every time a student answers a question, the webapp gets hit, even if only via AJAX

 


 

Telegram link

 

2020-05-26T12:45:45

 

Gotta change it so that it only reports back at the end of all the questions

 


 

Telegram link

 

2020-05-26T12:46:06

 

17 can do that pretty easily.

 


 

Telegram link

 

2020-05-26T12:46:11

 

can't wait

 


 

Telegram link

 

2020-05-26T12:46:31

 

I have all the sound clips, videos and images off-loaded to a big CDN

 


 

Telegram link

 

2020-05-26T12:46:51

 

Got the PG off on a different, powerful server

 


 

Telegram link

 

2020-05-26T12:47:18

 

So the IW app has much less to deal with

 


 

Telegram link

 

2020-05-26T12:47:32

 

I should be able to get session sizes down pretty small

 


 

Telegram link

 

2020-05-26T12:47:33

 

yes, good a practice to have

 


 

Telegram link

 

2020-05-26T12:48:36

 

With my IW app just flinging text around — we're hoping to be able to service a lot of users per instance

 


 

Telegram link

 

2020-05-26T12:49:16

 

Tons of different alphabets, but it's just text

 


 

Telegram link

 

2020-05-26T12:49:32

 

IW apps can easily handle many thousands of users per instance without much tuning needed.

 


 

Telegram link

 

2020-05-26T12:49:39

 

glad to hear it

 


 

Telegram link

 

2020-05-26T12:49:55

 

I'll keep you posted as to the numbers we'll achieve

 


 

Telegram link

 

2020-05-26T12:50:08

 

??

 


 

Telegram link

 

2020-05-26T12:50:20

 

It will literally be the biggest site ever for teaching languages

 


 

Telegram link

 

2020-05-26T12:50:50

 

We'll have over 700 languages available in the first two years

 


 

Telegram link

 

2020-05-26T12:51:28

 

And it will feature something that no other site has ever even attempted — you will be able to study ANY of the languages from ANY of the other languages

 


 

Telegram link

 

2020-05-26T12:51:40

 

So if your native language is Zulu — you can learn Portuguese from Zulu

 


 

Telegram link

 

2020-05-26T12:51:50

 

And you can learn Mandarin Chinese from Portuguese

 


 

Telegram link

 

2020-05-26T12:52:01

 

And Armenian from Korean

 


 

Telegram link

 

2020-05-26T12:52:09

 

etc to the power of n

 


 

Telegram link

 

2020-05-26T12:54:46

 

———-

 


 

Telegram link

 

2020-05-26T12:54:49

 

New issue

 


 

Telegram link

 

2020-05-26T12:54:54

 

Did you guys ever fix this?:

 


 

Telegram link

 

2020-05-26T12:54:56

 

 

 


 

Telegram link

 

2020-05-26T12:55:02

 

It should be:

 


 

Telegram link

 

2020-05-26T12:55:09

 

 

 


 

Telegram link

 

2020-05-26T12:55:19

 

cool

 


 

Telegram link

 

2020-05-26T12:55:28

 

I have an older version, and so I might not be seeing the change that you already made

 


 

Telegram link

 

2020-05-26T12:55:36

 

type: mention @Alex7691

 


 

Telegram link

 

2020-05-26T12:55:50

 

specifying the type has not been needed for maaany years

 


 

Telegram link

 

2020-05-26T12:56:09

 

and slightly bloats the page size needlessly

 


 

Telegram link

 

2020-05-26T12:56:22

 

not a huge issue, but no sense in not fixing it