Where to read Code? or Best practices to Learn Code?
-
@JaredBusch said in Where to read Code? or Best practices to Learn Code?:
Whatever form of BASIC the TRS-80 used.
Given your age, I can only imagine you used a late model TRS80 and not the shitty model I from 1977. If I'm right, then it was "standard" Microsoft BASIC.
-
@scottalanmiller said in Where to read Code? or Best practices to Learn Code?:
@JaredBusch said in Where to read Code? or Best practices to Learn Code?:
Whatever form of BASIC the TRS-80 used.
Given your age, I can only imagine you used a late model TRS80 and not the shitty model I from 1977. If I'm right, then it was "standard" Microsoft BASIC.
I'm fairly certain it was TRSDOS, but mid 80's was a long time ago....
-
@JaredBusch said in Where to read Code? or Best practices to Learn Code?:
@scottalanmiller said in Where to read Code? or Best practices to Learn Code?:
@JaredBusch said in Where to read Code? or Best practices to Learn Code?:
Whatever form of BASIC the TRS-80 used.
Given your age, I can only imagine you used a late model TRS80 and not the shitty model I from 1977. If I'm right, then it was "standard" Microsoft BASIC.
I'm fairly certain it was TRSDOS, but mid 80's was a long time ago....
TRSDOS was the OS name for Microsoft's BASIC on the TRS80.
-
after the kiddo got to bed last night I started thinking about coding a little and My future and what I want to do in IT - and I got to thinking :
Why do I want to look at Coding?
Because I want to Expand and try new things to see if I like it - I've been working with Computers/Point of sale for a year ( officially and studying/learning for at least 2.5-3 years ) It makes sense In my mind to look at other options such as Web Design (someone said something in this thread and I thought about it a little)
App building, software engineering ( i know we have a few of those guys running around here on ML) even Mark up languages like HMTL and CSS ( I dont know what careers come from those, but they're options... )
Why would I hold my self back from trying different things? (at least in mind my, Since im not exactly sure what I want to do. )
I started python, Sure.
Haven't started any projects yet, cause I dont understand Python. where as with HTML and CSS (so far) It makes sense- I put in what I want it to do and what I want to be there, and it works.
python looks like it's all math, basically up to this point.
In my mind right now - I want to try Building a website, A blog ( or something along those lines)why?
because I want to see if I can!
I want to try different things and see what works for me and if it's something I can do- ultimately.
Under that, I feel like it'd be good practice to build a website from scratch, use mark ups and add python.
You guys have said multiple times "having a goal in mind while learning is best because if you dont you'll get distracted."But how do I do that?
learning PHP as @bnrstnr said?
I've made a goal: I want to build a website this time.
Specifics on the website are still hazy, But I'm working on that.SO - How do I start?
if the answer is python, skip it. because I'm already in the classes for python. -
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
https://imgs.xkcd.com/comics/exploits_of_a_mom.png
https://xkcd.com/327/ -
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
https://imgs.xkcd.com/comics/exploits_of_a_mom.png
https://xkcd.com/327/Just looking up
difference between static and dynamic websites
didn't do me any good.what's the difference other than one is database server language(dynamic) and the other is html (static)
-
@WrCombs Just what the words mean. Static = content doesn't change. Dynamic = content changes.
-
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Just what the words mean. Static = content doesn't change. Dynamic = content changes.
That's what I figured. but thanks for clarifying
-
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
why?
because I want to see if I can!
I want to try different things and see what works for me and if it's something I can do- ultimately.I can empathize with this concerning almost anything I want to learn.
-
@EddieJennings said in Where to read Code? or Best practices to Learn Code?:
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
why?
because I want to see if I can!
I want to try different things and see what works for me and if it's something I can do- ultimately.I can empathize with this concerning almost anything I want to learn.
at least im not the only one- plus it's great experience on resume's and in general.. IMO
-
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
I'm almost downvoting that one.
Sanitizing is for losers, binding is for winners.
:smiling_face_with_open_mouth_smiling_eyes: -
@Pete-S said in Where to read Code? or Best practices to Learn Code?:
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
I'm almost downvoting that one.
Sanitizing is for losers, binding is for winners.
:smiling_face_with_open_mouth_smiling_eyes:Well yeah, but there isn't a classic XKCD for binding
-
@Pete-S said in Where to read Code? or Best practices to Learn Code?:
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
I'm almost downvoting that one.
Sanitizing is for losers, binding is for winners.
:smiling_face_with_open_mouth_smiling_eyes:LOL so rather than google it - What are the differences between Sanitizing and binding input?
is that learned from PHP?
-
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
@Pete-S said in Where to read Code? or Best practices to Learn Code?:
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
I'm almost downvoting that one.
Sanitizing is for losers, binding is for winners.
:smiling_face_with_open_mouth_smiling_eyes:LOL so rather than google it - What are the differences between Sanitizing and binding input?
is that learned from PHP?
No, it's not language specific.
The difference is how the information the user supplied (for instance in a form) enters the database.
Binding means it goes directly from a variable in the program to the database.
Other option is to use the users data and assemble an SQL statement (database language). Problem is that the user can put SQL code in the information (called SQL injection attack). To avoid that you have to sanitize the input and remove or reencode the data from the user before using it to make an SQL statement.
-
@Pete-S said in Where to read Code? or Best practices to Learn Code?:
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
@Pete-S said in Where to read Code? or Best practices to Learn Code?:
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
I'm almost downvoting that one.
Sanitizing is for losers, binding is for winners.
:smiling_face_with_open_mouth_smiling_eyes:LOL so rather than google it - What are the differences between Sanitizing and binding input?
is that learned from PHP?
No, it's not language specific.
The difference is how the information the user supplied (for instance in a form) enters the database.
Binding means it goes directly from a variable in the program to the database.
Other option is to use the users data and assemble an SQL statement (database language). Problem is that the user can put SQL code in the information (called SQL injection attack). To avoid that you have to sanitize the input and remove or reencode characters.
OH! okay that makes sense.
I've heard of SQL injections before, I read an article years ago on them and how to prevent them . I just didnt remember. -
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
Mark up languages like HMTL and CSS ( I dont know what careers come from those, but they're options... )
Web Designer. That's the one and only job with those skills.
-
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
@Pete-S said in Where to read Code? or Best practices to Learn Code?:
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
@Pete-S said in Where to read Code? or Best practices to Learn Code?:
@travisdh1 said in Where to read Code? or Best practices to Learn Code?:
@WrCombs Static page, stick with HTML. Dynamic stuff, PHP with MariaDB.
Most important thing when working with dynamic web pages is sanitizing any input.
I'm almost downvoting that one.
Sanitizing is for losers, binding is for winners.
:smiling_face_with_open_mouth_smiling_eyes:LOL so rather than google it - What are the differences between Sanitizing and binding input?
is that learned from PHP?
No, it's not language specific.
The difference is how the information the user supplied (for instance in a form) enters the database.
Binding means it goes directly from a variable in the program to the database.
Other option is to use the users data and assemble an SQL statement (database language). Problem is that the user can put SQL code in the information (called SQL injection attack). To avoid that you have to sanitize the input and remove or reencode characters.
OH! okay that makes sense.
I've heard of SQL injections before, I read an article years ago on them and how to prevent them . I just didnt remember. -
@scottalanmiller said in Where to read Code? or Best practices to Learn Code?:
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
Mark up languages like HMTL and CSS ( I dont know what careers come from those, but they're options... )
Web Designer. That's the one and only job with those skills.
And front end programmer.
Or backend programmer working on html export.
-
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
Haven't started any projects yet, cause I dont understand Python. where as with HTML and CSS (so far) It makes sense- I put in what I want it to do and what I want to be there, and it works.
Distill this to help understand...
What you understand is web design or, more generally, making documents. Using HTML is basically like a "more technical" form of making a Word document.
What you don't understand is programming. Or more generally, making software.
-
@WrCombs said in Where to read Code? or Best practices to Learn Code?:
python looks like it's all math, basically up to this point.
In the same way that cooking and recipes are all math... which is to say "they have math, but they are not math."