Jump to content

Developer's tools and weapons


L8V2L

Recommended Posts

This topic goal is to inknowledge each person who read the post and to hopefully coerce them into sharing by posting too.I'll like to start out with mentioning untiy. I just briefly look over it in wiki. Have anyone ever use it for web development?

Link to comment
Share on other sites

point?

To just mention other tools that one might not know of.Sharing knowledge with a novice or wizard.Even a child can teach his father something new.
Link to comment
Share on other sites

Anyone ever did some shell programming?

 

Shell programming is not necessarily web developing but you can use shell programming to do certain tasks on the server( server: basically a computer with unix/linux) for you by writing shell programs that interact with a program on the server that does something for you. Example would be like image manipulation(s). A shell program can be written to interact with an image manipulation program on the server, where you can call the shell script(program) from a PHP script to be executed to manipulate/edit an image.

Link to comment
Share on other sites

Shell programming is not necessarily web developing but you can use shell programming to do certain tasks on the server( server: basically a computer with unix/linux) for you by writing shell programs that interact with a program on the server that does something for you. Example would be like image manipulation(s). A shell program can be written to interact with an image manipulation program on the server, where you can call the shell script(program) from a PHP script to be executed to manipulate/edit an image.

She'll scripting is mostly command --like any other language-- you don't actually set up any data in the shell it self but pass data to the kernel/terminal --I'm still very wet behind the ears. Please correct me, if the term I'm using are incorrect--In other words the shell interface it's self is not use as a programming language, but as a command line interface to manipulate your script, files, etc.
Link to comment
Share on other sites

Shell programming from the way I understand it is, is basically how I described. You can write a shell script that can have if and else statements, etc etc. Shell scripts are usually saved with .sh extension and can usually be executed by going to the directory the file(script) is in and typing for example: ./myscript.sh from the command terminal(shell).

 

It seems like when you mentioned shell programming, you were referring to entering commands in the shell/terminal. That is not necessarily shell programming. That is basically just typing commands in the shell/terminal. The command ls for example lists files for the current working directory. To see your current working directory, you can type in the command terminal/shell, pwd. To change directories, you type cd and the name of the directory you want to change to. For example: cd documents

  • Like 1
Link to comment
Share on other sites

Shell programming from the way I understand it is, is basically how I described. You can write a shell script that can have if and else statements, etc etc. Shell scripts are usually saved with .sh extension and can usually be executed by going to the directory the file(script) is in and typing for example: ./myscript.sh from the command terminal(shell). It seems like when you mentioned shell programming, you were referring to entering commands in the shell/terminal. That is not necessarily shell programming. That is basically just typing commands in the shell/terminal. The command ls for example lists files for the current working directory. To see your current working directory, you can type in the command terminal/shell, pwd. To change directories, you type cd and the name of the directory you want to change to. For example: cd documents

My apologize... I read what you said... But wasn't paying attention to what exactly what I was reading.... She'll is actually a programming language than...... Hmmm.... I'm just carry on with the conversation sir/Mis, if you wish not to answer than I understand. So... What exactly do you do with she'll programming? ---research---I did a little research so this conversation want be a ask question type of thing.Here a summery from wiki:ShortcutsIn its most basic form, a shell script can provide a convenient variation of a system command where special environment settings, command options, or post-processing apply automatically, but in a way that allows the new script to still act as a fully normal Unix command.Here is an example:
#!/bin/shclearls -al
So basically it seem that any command you would put in the terminals would be consider she'll scripting. Do she'll script contain syntax that can't be put in the command line, or is it all just a short cut way to executing command line? Edited by L8V2L
Link to comment
Share on other sites

Yes basically it is a series of commands that are written into a single file and when the file(script) is executed, it executes the commands within that file as if you're putting in those commands one by one in the terminal. To me though this is shell programming because you're writing a series of statements/instructions in a file when upon executing the file, it will do whatever you intended the file(script/program) to do; like programming with PHP, JavaScript, C++ etc.

 

But yes, you can also do shell programming at the command terminal itself like the following: if [ -f /documents/textfile.txt ]; then echo "true"; fi but to me, when I read/hear of shell programming it is in the way I described. Perhaps others may have a different interpretation/perspective.

Link to comment
Share on other sites

Yes basically it is a series of commands that are written into a single file and when the file(script) is executed, it executes the commands within that file as if you're putting in those commands one by one in the terminal. To me though this is shell programming because you're writing a series of statements/instructions in a file when upon executing the file, it will do whatever you intended the file(script/program) to do; like programming with PHP, JavaScript, C++ etc. But yes, you can also do shell programming at the command terminal itself like the following: if [ -f /documents/textfile.txt ]; then echo "true"; fi but to me, when I read/hear of shell programming it is in the way I described. Perhaps others may have a different interpretation/perspective.

I read you. By the way my studying going, and server scripting. It seem I'll be learning a little--all really-- she'll scripting. Dealing with process that is--a thread in a process and a process is in a processor... Right?--. What is your language and your association with shell scripting. I'm in mobile version so I can't see if you had it as you're language or interest.Do you know C and C++? I aim to learn them language too. I like to say it as C/C++ as one language--even know people argue that it's not and wiki say yes and no on the subject-- to make it less intimidate.
Link to comment
Share on other sites

I never got the opportunity to post in the thread you made about 'what was your first programming language' but yes mine was C++. Back in the mid 90s I got my first computer and was fascinated with it. I wanted to know everything about it. The insides and outs. Then upper 90's I was fortunate to meet on AOL (America Online; basically was a place(it was an actual program back then) people log on to and chat, email, games, go in chatrooms, etc etc. It was the Facebook of those days.) an actual person that worked for AOL at the time. He introduced me to C++.

 

Anyway, with respects to the moderators here and this forum being about web designing/developing(programming), probably best to stick with that. We don't want this thread to get locked as well, do we? :happy0046:

 

I saw in another thread/post that you mentioned you wanted to build a game site with most likely using Wordpress. That's fine, but what made you decide to go with Wordpress?

 

Also I see your style of learning is basically through interaction. A lot of people like learning like that and it's understandable as to why. Have you yet built a webpage that demonstrates some of the JavaScript knowledge you have attained thus far? It can be simple such as changing the background color of the webpage by having the user type in a background color into an input field and clicking on a button that says 'Change Color'.

 

I also see you want to become a JavaScript wizard, but exactly in what regards? Like, in general... or... for basically what JavaScript is truly mean't for, client side scripting/programming via the browser(s)? I am sure it's both reasons, but to become a wizard, just like in any other wizardry, you need to practice by applying what you have learned. Experience is key. I'm no expert, but I can say that this is important.

 

I met another computer wiz in those days, he introduced me to ms-dos (command line; the UN-graphical user interface of Windows; like shell/terminal in unix/linux) and some other 'leet' or 'l33t' (mean't cool, elite) stuff of those days. I was impressed with his knowledge and asked how he attained it, he simply said.. "trial and error". I did not understand what he mean't; did not understand how that related to computers when to me back then it sounded like something to do with law trials, courts, judges, lawyers, errors in trials?? :X: I soon discovered what he mean't and that was that.

 

Don't get too overwhelmed with learning many languages at once. One at a time. Usually if you learn one language(like JavaScript) really well, learning another will be much more simple.

Edited by Don E
Link to comment
Share on other sites

The languages that I am learning is:ECMAScript--ESON--,XHTML--XML, HTML--,CSS,and APIs.For the purpose of these language above:ECMAScript; client/server,XHTML.; client/database,CSS; client,APIs; client/server.Later on after I'm really productive in theses language I then am for C/C++.No... And yes. I have built simple things, but more so from try it my self through books and tutorials.By wizard I mean everything to do with ECMAScript, along with the environment that it is use in.With server side scripting, it also seem I'm being lead to learn shell programming, or at least the commands.Is the syntax of C/C++ huges?They usually lock the post if it's just me going off subject... But yeah, just to be safe.

Link to comment
Share on other sites

With server side scripting, you do not necessarily have to learn shell programming. Do you feel you have to do because it's called server side scripting and most servers today are of unix/linux platforms?

 

Server side scripting is referred or called many things, like 'back end scripting, or 'back end developing/programming', etc. To me web designing means front end work, client-side related stuff; what the user sees basically(the HTML, CSS and even JavaScript), and web developing to me means the back end stuff; the behind the scenes stuff that happens/occurs mostly unbeknownst to the user. The only thing they know in this regard is, "I clicked submit after inserting all my information in the form fields and now I am at a new page or another page that displays more information about what I inserted." Etc. When logging into Facebook for example, a WHOLE a lot of behind the scenes (backend/server side) stuff is happening to fetch/get your data about you that is neatly put together in what you see as your Facebook page/account. (Just using Facebook as an example.) This is all possible because of server side scripting(like PHP, ASP, etc) basically and not really anything to do with shell programming.

 

When you will sign up for a hosting company that will host/serve your website, you're most likely going to be on a shared-host environment. That means a lot of websites are on one server. The server related stuff in shared-hosting environments are done by the system administrators that work for that hosting company. You really have nothing to worry about for the most part having anything to do with the internal workings of the server. All you need to do is, put together a website, upload to the server so that the world can see it. The server securities, updates, kernel related stuff, etc etc, is done behind the scenes by the system administrators of that hosting company. All server resources in a shared-host environment are shared. You cannot even update something on the server that needs updating not until the server administrators finally get to it or think it's necessary to do so.

 

That happened to me. I was on a shared environment and noticed some versions of programs on the shared server that were pretty old/out dated. I email them and asked please update to latest version. They said "we cannot update a single server program because one client is requesting. We also go based of when the server administrators see it's necessary for certain updates" blah blah blah. Another example, some PHP scripts require a lot of memory usage. At home on my local server, the PHP memory is set in the php.ini configuration at a value that is adequate enough for the scripts to execute. So I made mental note and said "do not forget to set PHP memory value to 'live' server as well." After doing all that etc, I noticed in the logs I was getting errors; segmentations faults. I did not know what was going on; I set the memory to enough, I am seeing no actual PHP errors in the logs, but in another log file, I am see this segmentation fault error. I emailed host and they said you're script(s) are using to much memory when executed and that's causing the error. I said "well how is that when I raised the PHP memory in the php.ini file?" They said "we see that but we only actually allow a certain max amount per user on the shared environment." That's understandable but I wish I knew that before signing up. The error was caused by shell scripts actually that were executed via the PHP script/file. The shell script(s) basically dealt with image manipulations that called/interacted with a image manipulation program on the server which was actually outdated! :facepalm:

 

So if you intend to go on a shared hosting environment soon, all server related stuff is mostly out of your reach for the most part. If you want complete control over the server yourself, you should then aim for dedicated hosting but that is way more expensive than shared AND.. a pain in the ______ in maintaing yourself. Trust me. :happy0046:

Link to comment
Share on other sites

There are a couple of jsss program out there. I'm going that route. I want to master ECMAScript language. Since there's ES-Server Side support out there, I rather go that route. Working closely with the kernel seem to be one of the... Ability but not a need to do so. But still, I would like to know all I can of what I'm using.My plan in the beginning was to learn; js, php, html, css. But ones I star becoming knowledgeable of the language and other language I change it.I'll probable go with Joynet for a server provider. I see that you are very knowledgable in the world of programming. I aim to be just that, knowledgeable.... A knowledgable wizard. A while back I gain the ability to see the code in mid air.... But just faintly.... Need to keep studying.Right now I'm just working on ES, XHTML, CSS, APIs. --the reason why I refer to the language as the spec name is cause that what it is, js is the language as it is defined in the browser. Since the language can be imported to other environment, I go by the spec name.-- What about database? Relational? Tubular? Object Oriented? ...need to do more studying... Wish I could read to books at the same time.... --if I had that head key from Locke & Key--

Link to comment
Share on other sites

I have a process thinking. That is causing debugger to not connect. The message is: Failed ru open socket on port 15454, waiting 1000 ms before retrying.A wizard solve it for me. But if anyone would still like to comment, please do so.

Edited by L8V2L
Link to comment
Share on other sites

So I'm reading, and came across an example of determining the file extension of a file not having one... here is what they show:

file --breif --mime filename# this out put something like this:text/plain; charset=us-ascii#for txt filetext/plain; charset=us-ascii#for es--js-- filetext/plain; charset=us-ascii#as you can see it'll, out put the same for... I'm guessing any file.
anyone know why?
Link to comment
Share on other sites

Please guys/gals, I don't know what laptop to get, like I said I only ever dealt with Toshiba, just... just tell me a good general purpose laptop that can stand some development action being done on it...

Link to comment
Share on other sites

My work allowed me to pick any machine and I choose a MacBook Pro. I quite like it especially in that it is built of a unixy kernel (FreeBSD). I also have a personal one as well that is multipurpose for development, and music recording.

 

A Lenovo re-formatted with a Linux distro is also not a bad choice, a couple other developers in my office opted to go down that route. They opted for Ubuntu.

 

I have nothing against Linux to be clear, I like the MacBook. For my VPS though, I choose Linux, using CentOS.

  • Like 1
Link to comment
Share on other sites

.... I come to like unix--for silly reason--and I'm use to using a window operation system--or window-like-- and I like the ideal of working in the cloud.Thank you for your respond... I'm hoping someone is going to tell me something that it would like to hear, but how can they if they're not me... I guess I'mma have to.... Decide myself...I'm not that very knowledgable... Still have a lot to learn.Here, I'll give you a like for answering my call.

Edited by L8V2L
Link to comment
Share on other sites

Try that question again in English.

- _ -Is click on a button that will upload new material, is that consider a form of bootstrap? Edited by L8V2L
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...