protohab – a HTML5 frontend and a Node.js backend!

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Apprentice ordm is offline
    MemberRank
    Dec 2016 Join Date
    6Posts

    protohab – a HTML5 frontend and a Node.js backend!

    protohab
    protohab is a project which tries to accomplish the same end-product what Habbo has, but it's flashless! It's frontend (client) does not require/have flash; only HTML5, JS and CSS. The backend and frontend communicate via WebSockets and the backend is written in Node.js, but it can be easily adapted to other languages too! Frontend is based on Ediootti's Illumina design, but this theme can be easily changed since it's written in HTML and CSS.

    Technologies and features in frontend:

    • SASS/SCSS for easier CSS
    • Vanilla JavaScript
      • may use JS libraries in the future for better DOM reactibility
      • ES6 in future (converted to ES5 with Babel)

    • HTML5's canvas used for room rendering
      • Workaround for retina screens and other screens with DPI not 1 (better quality)

    • WebSocket communication with backend
    • Own floor map maker/generator
    • Grunt for minimizing, optimizing, copying and compiling HTML, SCSS and JS.


    Technologies and features in backend:
    • ES6
    • Node.js
    • package ws for WebSockets
    • Basic message handling


    Screenshots of frontend:

    (badges and friends are fetched with WebSockets; static data)

    Todo-list:
    • Floormap making – 100%
    • Canvas rendering – 100%
    • Tilecursor – 100%
    • WebSocket message handler – 100%
    • Game logic – 0.1%
    • Popups – 0%
    • Catalog – 0%
    • Furni – 0%
    • Chat – 0%
    • Multiplayer – 0%
    • Backend task queues – 0%
    • Backend database – 0%


    GitHub:


  2. #2
    Apprentice ordm is offline
    MemberRank
    Dec 2016 Join Date
    6Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Started working on popups and navigator, having fun with :before and :after: box custom "shadows" (white and grey line on top/bottom), headings with a line through and navigator's currently selected tab arrow. Check the commit here.

    Last edited by ordm; 04-12-16 at 07:19 PM. Reason: Add commit link

  3. #3
    Proficient Member Boraida is offline
    MemberRank
    May 2011 Join Date
    The NetherlandsLocation
    161Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Looks promising. For the (S)CSS checkout BEM. It's really cool and simple. Good luck! :-)

  4. #4
    The **** Keiz is offline
    MemberRank
    Nov 2015 Join Date
    238Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Looks great!

  5. #5
    Apprentice ordm is offline
    MemberRank
    Dec 2016 Join Date
    6Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Quote Originally Posted by Boraida View Post
    Looks promising. For the (S)CSS checkout BEM. It's really cool and simple. Good luck! :-)
    Thanks for the kind words and suggestion, but I don't personally like BEM.

    Quote Originally Posted by Keiz View Post
    Looks great!
    Thanks!

    All feedback appreciated!

  6. #6
    Member lai0n is offline
    MemberRank
    Jul 2015 Join Date
    ~/LibraryLocation
    71Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Why use a global switch for handle all handlers?
    Habbo has hundred handlers
    Will be too disorganized and ugly in the future.

  7. #7
    Apprentice ordm is offline
    MemberRank
    Dec 2016 Join Date
    6Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Quote Originally Posted by lai0n View Post
    Why use a global switch for handle all handlers?
    Habbo has hundred handlers
    Will be too disorganized and ugly in the future.
    I will divide the app object into folders and files in the future, but at the moment I want to focus on designing.

  8. #8
    Valued Member BronzeSpider547 is offline
    MemberRank
    Dec 2015 Join Date
    139Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    This looks promissing, and I like your design. Good luck mate.

  9. #9
    Typescript XOXO LeChris is offline
    MemberRank
    Sep 2011 Join Date
    749Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Designing the app structure is more important to do at the beginning of the project, than designing user interaction.

    If you lack a proper app structure, you'll spend more time fixing it than being able to progress. This is especially true in something such as Node

  10. #10
    Apprentice ordm is offline
    MemberRank
    Dec 2016 Join Date
    6Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Quote Originally Posted by LeChris View Post
    Designing the app structure is more important to do at the beginning of the project, than designing user interaction.

    If you lack a proper app structure, you'll spend more time fixing it than being able to progress. This is especially true in something such as Node
    I'm not doing any JS until I'm satisfied with my design; first thing I'll do when I get back to JS is restructuring. I made the current JS for demonstration only (because I know that you guys won't believe anything if there isn't anything to back it up).

  11. #11
    protohab – a HTML5 frontend and a Node.js backend!protohab – a HTML5 frontend and a Node.js backend! pel is offline
    MemberRank
    Jan 2012 Join Date
    Munich, GermanyLocation
    384Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    You won't have success. Why? You just started writing. (This mistake is doing everybody :D)

    but still gl.

  12. #12
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Quote Originally Posted by iExit View Post
    You won't have success. Why? You just started writing. (This mistake is doing everybody :D)

    but still gl.
    Agree with that. What distinguishes a professional programmer of a hobby programmer is the way of handling a project. If you study IT at highschool you get lessons about how to maintain things like a database for example with DFD's (Dataflow diagrams) and that are things you're missing when you're just a self-learned programmer as hobby.

    But you compare it with building a house. You wouldn't build one without a architecture so why people try it with applications/websites? If you have a bad a poor base, you're whole project would fail.

  13. #13
    j’aime ma famille dominic is offline
    MemberRank
    Aug 2012 Join Date
    ~/Location
    611Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Quote Originally Posted by streamhotel View Post
    Agree with that. What distinguishes a professional programmer of a hobby programmer is the way of handling a project. If you study IT at highschool you get lessons about how to maintain things like a database for example with DFD's (Dataflow diagrams) and that are things you're missing when you're just a self-learned programmer as hobby.

    But you compare it with building a house. You wouldn't build one without a architecture so why people try it with applications/websites? If you have a bad a poor base, you're whole project would fail.
    sorry wat? I'm a self taught developer, however my job consist of delegating jobs and helping out (senior developer here)
    you know nothing. sit down and let @ordm do his work. @ordm do you have any intention in using integers for headers instead of a string?



    Sent from my iPhone using Tapatalk

  14. #14
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    Quote Originally Posted by Dominic View Post
    sorry wat? I'm a self taught developer, however my job consist of delegating jobs and helping out (senior developer here)
    you know nothing. sit down and let @ordm do his work. @ordm do you have any intention in using integers for headers instead of a string?



    Sent from my iPhone using Tapatalk
    Dude. I'm learning IT at highschool. I'm just pointing things out and it's not my intention to be arrogant like you. Do you know how a String is stored in memory and why you can't change? You're probably missing important things. My point was you'll miss important things that you'll learn at high school but never thought they were important as a self learned developer. I'm aware I don't know everything yet but I'll respect you're big ego.

    I'm also just here to help people with their projects. I'm interested in HTML5 canvas games so.

    @ordm
    Are there any new updates?

    Btw, the UI looks really nice! Hope you'll continue with Ediootti's design. It was much better then Habbo's current.
    Last edited by streamhotel; 08-12-16 at 04:58 PM.

  15. #15
    The **** Keiz is offline
    MemberRank
    Nov 2015 Join Date
    238Posts

    Re: protohab – a HTML5 frontend and a Node.js backend!

    (badges and friends are fetched with WebSockets; static data)


    So which one is it? Fetched through websockets, or static data?



Page 1 of 2 12 LastLast

Advertisement