Best way to create a dynamic website

Discussion and feedback on Construct 2

Post » Mon May 20, 2013 8:57 am

Hey, I'm looking for some opinions on the best way to develop a dynamic website?

I was thinking about this while doing some simple projects with Construct 2, thinking that maybe I could create a dynamic website for a game with it. It may be a little crazy, but I have this weird, irrational hatred for PHP, and was thinking I could use WebSockets to communicate with a server and update things in "real-time"

Basically, I want people to be able to log into the website, and stay logged in like a regular site. This site would be a portal to my game, which would open in a separate window providing the user is logged in and have clicked on the "play" button.

Does anyone know of any tools that are as powerful and as simple to use as Construct 2, but for websites. Even better, would it be possible to build a website with C2?

Just something that's been playing on mu mind :P
B
10
S
2
Posts: 94
Reputation: 1,536

Post » Thu May 23, 2013 9:03 pm

You could definitely build a website with Construct 2. Essentially, anything that you export into HTML5 format can easily be used as a site if you wanted it to.
B
21
S
7
G
5
Posts: 89
Reputation: 5,967

Post » Thu May 23, 2013 10:35 pm

You could easily build a site with Construct 2. However, I wouldn't have too much faith in the site rendering the same for every browser. Older browsers would also be incompatible.
B
9
S
3
G
1
Posts: 13
Reputation: 1,183

Post » Thu May 23, 2013 11:28 pm

Also if you use construct 2 you will not be Search friendly as the engines can't index sprites or other content in the canvas...
B
49
S
11
G
10
Posts: 1,833
Reputation: 14,428

Post » Fri May 24, 2013 5:02 am

If all you hate is PHP, there are other server side languages that you can try such as Ruby which emphasise code readability, and Node.js which could possibly let you interact with your C2 game directly being a javascript technology itself. Both languages have free hosting services out there, with limits of course but anything free is a generous gesture.

Node.js is still very new and feels fiddly, so I would recommend Ruby, which has a hilarious introduction book that motivated me to learn it in the first place.

If your real concern is any server side language, that's going to be difficult on the "user login" part because the infrastructure for logging in has always been a client-server architecture. rosareven2013-05-24 05:03:19
B
19
S
6
G
1
Posts: 116
Reputation: 2,730

Post » Fri May 24, 2013 10:27 pm

I do like Ruby. I tried learning it once but i never stuck to it for some reason :/

I think what i will do is build a website in HTML5/CSS3/JS in Expression Web, then use Construct 2 for the more dynamic elements of the pages using iFrames. I think I'll do all the login stuff over WebSockets, I just need a good security system.

I'm thinking of tying a login session to the user's IP address or something like that. But I need to work out what will ahppen if the IP changes :/
B
10
S
2
Posts: 94
Reputation: 1,536


Return to Construct 2 General

Who is online

Users browsing this forum: Gianmichele, WhosWho and 6 guests