Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


RamHost Website Design Updated
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

RamHost Website Design Updated

AsimAsim Member
edited April 2012 in General

From https://forum.ramhost.us/bbs/viewtopic.php?id=686

Mon, 09 Apr 2012 10:14:34 -0500

Today, we have given our website a small but much-needed facelift.

1) The old pixilated logo has been re-rendered and replaced.

2) The navigation bar has been improved.

3) The footer section is more defined and has been improved.

4) And last but not least, the html code itself has been converted from a table based layout into a more modern div and css based layout.

We have tested the new site in Internet Explorer and Firefox. Please let us know if you see any rendering issues in your browser.

Over the next several weeks we are going to be updating the styling and layout of our RamCP vps control panel software and of our billing and support ticket portal.

Comments

  • RamHost

    I don't like the height on the navigation bar, but it looks better now.

    Dow anyone know how they get this one live source code?

  • @Asim yeah, but do they do that for every page manually?

  • Long overdue

  • AsimAsim Member

    @OneTwo there may be some other tool but im not aware of any

    @Daniel yes, still its not much of an update ... but still it looks a bit better now

    Thanked by 1MrAndroid
  • finally.. the 'fixed' the logo.. :-/

  • fanfan Veteran

    I thought @ramnet will never change that. :D

  • ramnetramnet Member, Host Rep

    @OneTwo said: @Asim yeah, but do they do that for every page manually?

    We use a template engine (that we developed quite some time ago) that compresses the source code on-the-fly for us. It was literally 2 files that were changed.

    The old style site is still viewable by appending "theme=ramhost" to the end of each url, such as http://www.ramhost.us/?page=home&theme=ramhost

    The really really really old style is still viewable at http://www.ramhost.us/?page=home&theme=ramnet as well (although it's a bit broken after 3 years of updates to everything else) :P

    Thanks for the feedback everyone! :-)

  • AsimAsim Member

    @ramnet awesome, keep on updating

  • @ramnet thanks. where can I find the compress code?

    please make the navigation bar have less height. it will sure look cooler ;)

  • ramnetramnet Member, Host Rep
    edited April 2012

    @OneTwo said: where can I find the compress code?

    I've pulled the whitespace compression function from my code and posted it here:

    http://pastebin.com/VvfdAYwN

    With more modern versions of PHP that code can probably be optimized a bit (that particular function was written about 7 years ago and hasn't been touched since)

  • InfinityInfinity Member, Host Rep

    The webiste is really really slow from here.

  • @ramnet where and how can I place that?

  • AsimAsim Member

    @OneTwo I guess you dont know programming a lot :)

  • ramnetramnet Member, Host Rep
    edited April 2012

    @OneTwo said: @ramnet where and how can I place that?

    If you can't figure that out from reading the code, you probably shouldn't use it.

    @Infinity said: The webiste is really really slow from here.

    Pingdom reports the entire site loads in 1.35 seconds. http://tools.pingdom.com/fpt/g9NnhAWyX/http://www.ramhost.us/

    Would you care to post a traceroute? :-)

  • @ramnet I fully understand what the code is doing but I can't understand how to use it. Explain please?

  • ramnetramnet Member, Host Rep
    edited April 2012

    @OneTwo said: I fully understand what the code is doing but I can't understand how to use it. Explain please?

    If you understand what the code is doing, then using it should be trivial.

    You just get your entire webpage into a string variable, pass it through the function, and echo that variable.

    Basically:

    $mywebpage=file_get_contents('webpage-with-lots-of-whitespace.html');
    ramcms_remove_body_whitespace($mywebpage);
    echo $mywebsite;

  • ramnetramnet Member, Host Rep

    @debug said: @ramnet is this what you use?

    RAM Host uses a somewhat modified version of that (my old ram-cms project) to power our website and our RamCP control panel software, yes.

  • @ramnet: Did you notice a speed increase/bandwidth decrease using that function?

  • ramnetramnet Member, Host Rep

    @Damian said: Did you notice a speed increase/bandwidth decrease using that function?

    Somewhat. A lot of web robots don't handle gzip http compression.

    It's also handy for html source code obfuscation.

  • InfinityInfinity Member, Host Rep
    edited April 2012

    @ramnet said: Pingdom reports the entire site loads in 1.35 seconds. http://tools.pingdom.com/fpt/g9NnhAWyX/http://www.ramhost.us/

    Would you care to post a traceroute? :-)

    Well Pingdom isn't really representative of the average computer ;) Either way it probebly tested from Texas while I'm in the UK.

    [root@jupiter ~]# traceroute ramhost.us
    traceroute to ramhost.us (199.21.220.75), 30 hops max, 60 byte packets
     1  10.14.180.1 (10.14.180.1)  7.119 ms  11.586 ms  12.428 ms
     2  popl-core-2a-ae4-1444.network.virginmedia.net (62.255.161.21)  13.146 ms  12.996 ms  12.817 ms
     3  popl-bb-1a-ae6-0.network.virginmedia.net (82.14.127.241)  12.511 ms  12.396 ms  12.285 ms
     4  manc-bb-1b-as1-0.network.virginmedia.net (212.43.162.86)  17.124 ms  18.632 ms  17.701 ms
     5  tele-ic-3-ae0-0.network.virginmedia.net (212.43.163.70)  25.006 ms  23.118 ms  23.958 ms
     6  45-236-228-213.packetexchange.net (213.228.236.45)  114.909 ms  116.269 ms  113.782 ms
     7  68.86.84.229 (68.86.84.229)  123.231 ms 68.86.84.205 (68.86.84.205)  121.569 ms 68.86.84.221 (68.86.84.221)  119.255 ms
     8  68.86.87.74 (68.86.87.74)  133.757 ms  133.605 ms  131.928 ms
     9  68.86.87.233 (68.86.87.233)  155.427 ms  150.561 ms  153.699 ms
    10  68.86.85.173 (68.86.85.173)  169.723 ms  169.563 ms  167.889 ms
    11  68.86.87.50 (68.86.87.50)  191.986 ms  187.090 ms  190.510 ms
    12  68.86.84.74 (68.86.84.74)  186.924 ms  187.843 ms  190.035 ms
    13  cr2-sea-A-t9-1.spectrumnet.us (75.149.228.6)  175.982 ms  173.309 ms  179.511 ms
    14  agg1-sea-p10.bb.spectrumnet.us (208.76.153.42)  177.851 ms  179.288 ms  179.093 ms
    15  WorldLink-1000m-sea.demarc.spectrumnet.us (216.243.26.130)  178.955 ms  171.297 ms  171.035 ms
    16  renbd1-gi-2-1.w-link.net (207.244.149.54)  176.293 ms  172.317 ms  172.056 ms
    17  209.90.226.134 (209.90.226.134)  172.117 ms  196.887 ms  197.465 ms
    18  wa.ramhost.us (199.21.220.74)  194.097 ms  173.520 ms  172.873 ms
    19  s1.wa.ramhost.us (199.21.220.75)  172.567 ms  172.424 ms  178.819 ms
    

    Pretty consistent pings of 172ms incase you were wondering.

  • ramnetramnet Member, Host Rep
    edited April 2012

    @Infinity said: Either way it probebly tested from Texas while I'm in the UK.

    Pingdom tested from the Netherlands.

    VirginMedia has terrible routing in general (it'll route through AMS-IX to get to London-hosted sites on a regular basis). Even still it's surprising that it hands off to Comcast along the way. That's 2 crap networks it goes through :P

    @Infinity said: I'm in the UK

    As am I - loads fine over Three mobile broadband as well as a BT ADSL line.

Sign In or Register to comment.