Web Services

Posted By: Bryan Lawrence

Web Services - May 13, 2016 07:21 pm UTC

So here is the new thread.
I have been trying to figure out what would the best route for me to go.
Wordpress seems to be the way to go these days, but good to see what others seem to see the most and what resources they use to learn this
Posted By: Jeff Mitchell

Re: Web Services - May 14, 2016 12:21 am UTC

What are you trying to do? Build a site? learn Web dev?
Posted By: Bryan Lawrence

Re: Web Services - May 14, 2016 02:14 am UTC

Both.
I have past experience with HTML and CSS but it seems that's not really too popular these days, and it's been so long that I would basically be relearning anyways.
I want to build a site for my father in law cause his is really dated.
Posted By: Mike Eng

Re: Web Services - May 14, 2016 11:56 am UTC

Homestead no longer popular? What?
Posted By: Bryan Lawrence

Re: Web Services - May 14, 2016 03:12 pm UTC

Originally Posted by Mike Eng
Homestead no longer popular? What?
And surprisingly neither is Geocities tongue
Posted By: Mike Eng

Re: Web Services - May 14, 2016 04:24 pm UTC

Lol I forgot about that one..

How about alamak.

Oh the days 56k
Posted By: Charles Lavoie

Re: Web Services - May 15, 2016 01:12 am UTC

Frontpage!!!! Ummm..

If you get into wordpress, it's the easiest way without really knowing code (PHP).. unless you really want to customize some actions.. but there is usually a plugin for what you want to do.

Here is the thing.. I hate pushing Wordpress on people who aren't bloggers or techy people. It's overwhelming. I would rather create 1 php script that they log in to and can edit pages using CKEditor or add new. It just creates/edits the HTML files for them but in a word type interface. Easy peasy.

Photos? Ok. 1 extra script. But there is no need for wordpress for simple sites.

Learn PHP. Start there. MySQL is nice, but not needed for a simple site.

Or pick a language you have always wanted to learn. Run with it.
Start with little scripts "Hello World" and work your way up.

You need the basics of the language before you start with frameworks like Laravel or Ruby on Rails, etc

in PHP.. once you learn, global variables ($_POST and $_GET), server variables ($_SESSION and $_SERVER), multi dimensional arrays $myArray['employee']['female']['hot'] = 1; and file functions.. you are gold. Add MySQL.. you are unstoppable.

Biggest thing... head towards RESTful web services using CRUD (Create, Read, Update and Delete).. This is the cats ass right now and makes life much easier to talk between applications.
Posted By: Jeff Mitchell

Re: Web Services - May 15, 2016 02:11 am UTC

People who value their time don't build sites from scratch anymore unless you need something really custom. If your primary goal is to get a site up I would like into a templating site like Squarespace as a start. They've got modern looking templates for building various types of sites, including commerce. You should have something up and running before the trial period is over. You live edit the site instead of coding, but you can drop down to HTML/CSS/JS if you want. It'll look good, work on all different types of devices, and you can point you FIL at their support team instead of being in the middle smile

Wordpress would be a similar idea, but it is more complex with worse support and you'll be much more likely to get hacked / defaced due to a dated plugin or some such. Probably a more marketable set of skills though.
Posted By: Mike Eng

Re: Web Services - May 15, 2016 11:58 am UTC

Charles your sig is ridiculous.

It fucks up my page view bitch
Posted By: Bryan Lawrence

Re: Web Services - May 15, 2016 01:51 pm UTC

In that case PHP will probably be the way I got, we setup PHP using XAMPP when we were at CRA to expedite a bunch of jobs, my friend taught me most of it, I wasn't aware I could build a site with it so that's exciting, I will get back into it. I work in database so sql is cake for me. RESTful and CRUD is new to me, I know I have heard of CRUD before but could definitely use some reading.

Yeah Jeff I was leaning towards something like that too, once the site is up and running your almost hands off. That has a bit of cost with it though so I will probably chat with him and see if it's something he is interested in (i think there is a free version I can start with) I wanted it to be a surprise to him.

LOL Mike, cause your on cell. Last year andrew and I were discussing upgrade for better mobile compatibility but I don't think that will happen.

Thanks GUYS!!!
Posted By: Mike Eng

Re: Web Services - May 15, 2016 05:50 pm UTC

Does Andrew even own a DSM anymore?
Posted By: Ziggy Dietrich

Re: Web Services - May 15, 2016 06:05 pm UTC

The Mongoose was there last time I was there, and I can't imagine him ever parting with it.
Posted By: Charles Lavoie

Re: Web Services - May 16, 2016 02:20 pm UTC

Originally Posted by Mike Eng
Charles your sig is ridiculous.

It fucks up my page view bitch


WTH you on? A Commodore? Atari 2600? I will add two spaces just for you mike rotflmao
Posted By: Charles Lavoie

Re: Web Services - May 16, 2016 02:29 pm UTC

Bryan.. for shits and giggles after you are done learning php (and Laravel), check out angular.js (mish-mash of all the JavaScript frameworks) or at the bare minimum, jQuery.

Node.js is pretty awesome as well. You can code and run a web server using JavaScript code alone. No other languages.
Posted By: Bryan Lawrence

Re: Web Services - May 16, 2016 02:38 pm UTC

haha ok! any idea where i should be starting with PHP?

Doing this one right now, really like this style as I prefer to actually do stuff instead of reading about it.
https://www.codecademy.com/courses/web-beginner-en-StaFQ/1/3?curriculum_id=5124ef4c78d510dd89003eb8
Posted By: Mike Eng

Re: Web Services - May 16, 2016 04:01 pm UTC

Originally Posted by Charles Lavoie
Originally Posted by Mike Eng
Charles your sig is ridiculous.

It fucks up my page view bitch


WTH you on? A Commodore? Atari 2600? I will add two spaces just for you mike rotflmao


Hey Charles! Why don't you just tell us how much psi in each tire you run on your sig wink
Posted By: Charles Lavoie

Re: Web Services - May 17, 2016 01:59 pm UTC

The way I learnt was to design a small application.
You could try and make a page (Form) to display injector size required.

PHP Code

<?php
$bsfc = 0.5; // 2.0 Turbo.
$horsepower = 400;
$number_of_injectors = 4;
$duty_cycle = 0.7;

$lbs = ($bsfc * $horsepower) / ($number_of_injectors * $duty_cycle);
$cc = $lb / 0.0951;
?>



Doesn't matter if you don't learn Object Oriented right off the bat. Procedural, then tackle the OOP.
Posted By: Bryan Lawrence

Re: Web Services - May 17, 2016 02:11 pm UTC

I started with VB and was pretty good at it back then so picking up OOP again shouldn't take too long.
So all your variables at the top would be entered in the form?
Posted By: Charles Lavoie

Re: Web Services - May 17, 2016 02:25 pm UTC

I just put those there for reference to the way the cal works.

create calc.php
create a form inside
have it submit to itself
if $_POST data exists, run the calc using $_POST data.

PHP Code
<form method="POST">
<label>Number of Injectors</label> 
<input type="text" name="NOI" value="4">
<br><input type="submit" value="Submit Form">
</form>
<br/><br/>

<?php
if(count($_POST) > 0){
   print'<pre>'.print_r($_POST).'</pre>';
   echo 'You entered '.$_POST['NOI'].' number of injectors';
   //...
}
?> 


That should get you going smile
Posted By: Charles Lavoie

Re: Web Services - May 17, 2016 02:48 pm UTC

For all those that need web hosting and want a little more flexibility and are proficient with Unix and setting up servers

Digital Ocean. Cloud Based Server. 5$ a month for decent stats. Digital Ocean Cloud

$ 5 / mo
512MB Memory
1 Core Processor
20GB SSD Disk
1TB Transfer

Look Ma! No CPanel. You install and run the software you want. Scales if you need more.
Posted By: Bryan Lawrence

Re: Web Services - May 17, 2016 02:50 pm UTC

Thank you sir!!
Posted By: Charles Lavoie

Re: Web Services - May 24, 2016 11:35 pm UTC

I need to buy this shirt.

[Linked Image]
Posted By: Bryan Lawrence

Re: Web Services - May 25, 2016 02:53 am UTC

LOL there is a mechanic shirt with the same description.

And I think any of us in IT can have that shirt applied to us.
Posted By: Robert Dickens

Re: Web Services - July 06, 2016 02:16 pm UTC

DotNet is the only way to go, C# is unlimited in capabilities
© 2024 Club DSM Canada