Stage 1: Web Development

Here we’ll cover: PHP, MYSQL, Javascript, HTML, CSS, Smarty Engine, CodeIgniter and much more…

Written by

Janeth is a marketer who works in the web design medium. She believes her job is to create techniques that target groups of people, reach out to that group, and get that group to take some form of action. This goes beyond being a simple graphic design or search engine optimizer.

27 Comments to “Stage 1: Web Development”

  1. trodmi says:

    If one is forced to work with php and mysql then what would be the best practice? Is there something better than smarty?

  2. webmasterqwp says:

    Thanks for sharing all the details..gained a lot of knowledge from the above comments too.

  3. TheMetalPerson says:

    i agree with that.

  4. GammaSouljah says:

    whether your doing static dynamic pages or full Ajax applications you still need to select and insert data to a database, process it and format it in either full html content or xml/json requests back to the browser. PHP is still the easiest language to do this with.

  5. TheMetalPerson says:

    With ajax features becoming more in demand, it becomes harder to manage older systems based on the back end creating while pages dynamically on the server side. It causes you to have to rewrite the javascript every single time you change the php templates. Its much simpler to just have a web server feed static pages (seeds) that are rich in javascript and talk to a now viewless server.

  6. TheMetalPerson says:

    I’m more against the paradigm of generating html/tempate content on the server side. The html, css and javascript (and whatever else you use on the front side) should be talking to whatever you have on the back-end through a defined convention instead of php generating a bunch of html to spit out.

    using this approach, it doesn’t really matter what you use on the back end, as long as it can handle web requests and interface with your client. the server side becomes simpler.

  7. GammaSouljah says:

    OK that is not fair. Coding Object oriented PHP 5 is a lot easier and securer than coding Server Side C or C++ if you want to have raw speed. Java is about the same speed as PHP code that make use of caching with APC so good PHP code is powerful, fast and a lot easier to learn and code. PHP is also so ubiquitous that yo app will run on any host. You will definitely need a dedicated server to run c++ and java apps on.

    Learn PHP if you need to create real production apps in the shortest time.

  8. TheMetalPerson says:

    server side template systems of any kind (including php hypertext preprocessor) are counter intuitive to a decent AJAX architecture.

  9. TheMetalPerson says:

    i wish recruiters and HR would stop asking me to learn retarded shit. why must i always sink down to this level.

  10. TheMetalPerson says:

    smarty is retarded. i used it for a year at my job and it served absolutely no purpose. I later decided that php served no real purpose as well. Want a good template system? how about html and css. use javascript and a protocol to talk to an ajax server. server side template systems create are redundant as users demand more interactive javascript anyway and any change to the server side template must be changed in JS anyway..

  11. chadspad420 says:

    Guessing GammaSouljah below is a programmer.

  12. GammaSouljah says:

    in the grand scheme of things smarty just makes working with php variables in html content a little easier to understand if your are the designer. But is pointless if your the developer and designer as its just another level of time waste to achieve nothing you can’t do with raw php.
    It can potentially also slow your applications down (even with caching) so i would not bother with it. only use it if your designer has no clue about php or you don’t want to give them access to the php parts.

  13. GammaSouljah says:

    Kohana PHP – (codeigniter fork)

    Wipes the Floor with codeigniter. if your serious about writing Fast, Light weight but Powerful php apps, then use that.

  14. GammaSouljah says:

    this guy is the worst teacher ever.
    Why don’t you get you facts right before confusing people even more than they need to be

  15. disolvedboi says:

    Just a correction, HTML is NOT how you format a page… you do it through CSS. Please make sure you correct that so people do not get confused.

  16. ConnorAlves says:

    Codeigniter is excellent for PHP.

  17. randomassname says:

    smarty allows u to create dynamic templates

  18. mathewedison says:

    CodeIgniter is a very powerful framework and I enjoy working with it!

  19. ffxfan321 says:

    Thanks for the info. Can you share with us more information regarding smarty engine.

  20. norrin_shadowwolf says:

    Read the article and write a TWO paragraph reaction/opinion essay. write about the actual content of the article…not what you think about the web page or the text! I want a response that expresses that you have considered the topic of the article and thought about the application of that topic in ethical terms, either in your personal realm or the general realm.

    MORAL DEVELOPMENT OF CHILDREN:
    KNOWING RIGHT FROM WRONG
    By Ron Huxley, LMFT
    On the way to work one morning I witnessed a heart-warming event. A group of elementary school girls were running down the street, laughing out loud as only little girls can. At first, I thought it was just the innocent giddiness of young children. Then, I saw the girl running behind them. She was a larger girl, desperately trying to catch up, and yelling for them to stop. As I past them, I looked back in the rearview mirror to catch one last glimpse of the cruel situation. To my surprise, I saw one of the girls who had been in the front, stopped on the sidewalk, waiting for the other girl to catch up. As a parent, I wanted that to have been my child, if a similar situation every presented itself to them.

    How do we teach our children about right and wrong? Where do they learn compassion, kindness, and other important morals? Are there practical ways for parents to shape their child’s characters? These are some of the questions we will be looking at in the next few weeks. For now, let’s take a look at the moral development of children.

    The Moral Development of Children
    When people talk about moral development, they are referring to their conduct and attitude towards other people in society. They look to see if you and I follow societal norms, rules, and laws. In terms of children, we are describing their ability to distinguish right from wrong.

    Two noteworthy individuals, Jean Piaget and Lawrence Kohlberg, studied the moral development of children. Piaget looked at how children develop moral reasoning. He found that young children have a much more primitive understanding of right and wrong behavior than do older children.

    “Who’s Naughtier?”
    Piaget determined that younger children judge bad behavior by the amount of damage caused by a person’s behavior. He would tell children a story with a moral dilemma. He would ask them to tell him “who is naughtier:” a boy who accidentally broke fifteen cups or a boy who breaks one cup trying to reach a jam jar when his mother is not around. Younger children attributed the “naughty” behavior to the boy who broke the most cups regardless of the other child’s intent. This type of moral reasoning was called Objective Morality or Moral Realism.

    Older children attributed bad behavior to the boy who broke only one cup because his motives where bad. This, more advanced form of moral reasoning was called Subjective Morality or Autonomous Morality. Piaget did not feel that children fully achieved this stage of moral development before the ages of twelve or thirteen.

    “What’s Right?”
    Kohlberg carried Piaget’s work into adolescence and adulthood. He also told children moral dilemma stories, but he would ask them to tell him what they thought would be the right thing to do. Their answers led him to the discovery of three levels of moral development with two stages each:

    The first level is called Preconventional. During this level children are concerned with avoiding punishment (Stage 1: Punishment-Obedience) and getting one’s own needs met (Stage 2: Individualism). This level and its stages fit into the framework of young children, up to the age of ten years.

    The second level is called Conventional. During this level children are more concerned with living up to the expectations of others (Stage 3: Interpersonal Conformity) and want to do the right thing because it is good for the group, family, or institution (Stage 4: Social System and Conscience). This level and its stages fit children over the age of ten years and on to adulthood.

    The third level is called Postconventional. During this level individuals govern their behavior by the relative values and opinions of the groups they live and interact with. Right behavior is based on a “social contract” (Stage 5: Social Contract and Individual Rights) with others and in the validity of universal moral principles (Stage 6: Universal/Ethical Principles) which may or may not agree with societies laws. Laws that agree with universal moral principles are obeyed but when those laws violate these principles, the individual follows the principles instead.

    Although many people have criticized Piaget and Kohlberg about their stages of moral development as being culturally biased, the parenting questions remain: How do we teach children moral behavior?

  21. Spider Pc says:

    match up!

    Question 1:
    arthropod

    Question 2:
    invertebrate

    Question 3:
    exoskeleton

    Question 4:
    protective coloration

    Question 5:
    molting

    Question 6:
    spinneret

    Question 7:
    spiracle

    Question 8:
    metamorphosis

    Question 9:
    maggot

    Question 10:
    antennae

    Question 11:
    cocoon

    Question 12:
    trachea

    Question 13:
    caterpillar

    Question 14:
    hive

    Question 15:
    entomology

    Question 16:
    social insects

    a. larva stage of fly
    b. shedding of exoskeleton
    c. pupa stage of moth
    d. ants, bees and termites
    e. hard, outer skeleton
    f. “feelers” on insects
    g. without a backbone
    h. having jointed legs
    i. change in body form during development
    j. larva stage of butterfly
    k. spins spider web thread.
    l. branched breathing tubes in insects
    m. the study of insects
    n. breathing openings in abdomen of insects
    o. color pattern to blend with habitat
    p. colonies of bees and wasps.

  22. Maggie says:

    Requirements:

    1.Design the following pages at a minimum and any further pages you deem necessary:
    ◦Home Page
    ◦Product Information Page
    ◦Shopping Cart page
    ◦Purchase page
    ◦Administrator interface

    Please note that you are simply creating HTML pages at this point. There will be no PHP or database integration at this time. We are setting the stage for future development by designing and creating our base HTML web site with appropriate graphics, colors, and other HTML design elements.

  23. jdfan says:

    1. Identify the characteristics of life and explain each.
    2. Explain the cell theory.
    3. How can you differentiate between plants and animals?
    4. Draw and label the cell membrane.
    5. What is an enzyme and what is the function of an enzyme?
    6. How can you speed up the chemical reaction?
    7. What are the reactants of photosynthesis? What are the products of photosynthesis? What are the reactants of cellular respiration? What are the products of cellular respiration?
    8. Compare heterotrophic and autotrophic organisms
    9. How does anaerobic and aerobic respiration differ?
    10. Animal like protists can move about in pond water. Identify the different ways they can move. Explain each method.
    11. What is mitosis? List the stages of mitosis. Explain the identify characteristics of each stage.
    12. How does meiosis differ from mitosis? How many eggs cells are produced during meiosis?
    13. Define dominance, segregation and independent assortment of genes.
    14. How does homozygous and heterozygous genotypes compare?
    15. Explain crossing over in sexual reproduction. What is its importance?
    16. How does dominance, co-dominance and incomplete dominance in organisms compare?
    17. Draw a DNA molecule. How would you explain its structure?
    18. How are enzymes produced in cells?
    19. Explain the theory of evolution in relation the organisms moving from the simple to the complex
    20. Compare homologous structures to vestigial structures.
    21. What were the first types of organisms produced? Explain one theory that explains the development of the first types of organisms.
    22. Identify the contribution to science made by the following scientists
    Gregor Mendel Charles Darwin Jean Lamarck Stanley Miller Fredrick Griffith Watson & Crick Erwin Chargaff Hardy – Weinberg
    23. According to Darwin, what is the importance of variation in a species?
    24. What is meant by the following terms: speciation, geographic isolation, and reproductive isolation?
    25. Compare gradualism and punctuated equilibrium
    26. Explain the difference between a population and community. Give examples of each.
    27. Why is it necessary for an ecosystem to have balance between the organisms in the ecosystem and the recycling of material in the ecosystem?
    28. How can you distinguish between herbivores, carnivores and omnivores?
    29. Define; precipitation, condensation, transpiration and evaporation.
    30. Create a simple food web. What type of organisms break down the decaying dead organisms and put the nutrients back into the ecosystem?
    31. Since human mankind has the greatest impact on the environment, what can mankind do to have a positive impact on the environment?

  24. kiltakblog says:

    I am doing my HNC in Web Development and have now hit a sticky bit with a 3 part assessment in part A i have to design a project proposal for a science museum for children aged 6-16 consisting of:

    Your proposal will take the form of a report detailing each of the aims and objectives identified during the planning stage, and detailing the design decisions taken. You should do the following.

    1. Analysing the client requirements,
    2. Defining aims and objectives-state clearly and concisely what it is you are trying to do and how i intend to go about it.
    3. Produce a design specification including:
    a. purpose of the WWW documents for users with special needs
    b. target audience
    c. accessibility to the WWW documents for users with special needs
    d. Technical requirements, limitations/constraints
    d.1. hardware: development system specification and client system requirements.
    d.2. Software: development tools, browsers, plug-ins, scripting, screen resolution, colour depth and bandwidth considerations.
    e. throughout your design specification you should provide justification on your design decisions:
    e.1. Layout
    e.2. Colour scheme
    e.3. interaction styles
    e.4. inclusion and use of digital media elements.
    4. maintain an asset list for each digital media element used.
    5. produce a test strategy with expected results and end-user acceptance tests.
    a. test strategy
    focus on usability, accessibility, functionality
    b. End-user acceptance tests
    surveys or questionnaires

    If anyone can give me a bit of help on any of the areas in this subject it would be much appreciated, just to give me help along the way.

    Thanks in advance.

  25. RuMKilleR says:

    Hey all, I’m a savvy computer user and am looking to buy a laptop. I have read all the specs, reviews, etc. but I would love the opinions of people that actually own these laptops. I mostly now use my computer for school/work (web development), but I do enjoy gaming on some occasions. Budget is not important. I definitely do have an interest in portability and battery life but I want something that is powerful. I realize that the main differences here are that the Dell has a better display and Blu-Ray, but I also know that it’s not quite as powerful. If you have personal experience with either laptop I’d love your opinion! I would also be curious as to if you believe there an any specs/accessories/etc. that I should change.

    Alienware M14X ($2601.96):

    PROCESSORIntel® Core™ i7 2860QM 2.5GHz (3.6GHz w/Turbo Boost, 8MB Cache)
    OPERATING SYSTEMGenuine Windows® 7 Ultimate, 64bit, English
    VIDEO CARD3.0GB DDR3 NVIDIA® GeForce® GT 555M using NVIDIA Optimus™ technology
    HARD DRIVE750GB 7200RPM SATA 3Gb/s
    LCD PANEL14.0″ High Def+ (900p/1600×900) with WLED backlight
    INTERNAL OPTICAL DRIVE8x SuperMulti DVD±R/RW Slot Load Optical Drive with Roxio Creator 2011
    SOUND OPTIONSSoundblaster® X-Fi™ Hi Def Audio – Software Enabled
    SYSTEM COLORStealth Black with Soft Touch Finish
    ALIENFX COLORQuasar Blue
    OS CUSTOMIZATIONAlienhead Glow
    PRE-INSTALLED SOFTWAREDELL™ Stage and SyncUP by Nero
    PRE-INSTALLED SOFTWARESteam and Portal™ Factory Installed
    GEAR STOREAG2 Anti-Glare Screen Protector for Dell Alienware M14x Laptop
    GEAR STOREAlienware Orion M14x Messenger Bag – TSA Friendly
    My Accessories
    WARRANTY AND SERVICE1 Year Basic Plan
    OFFICE SOFTWAREMicrosoft® Office Home and Business 2010
    POWER PROTECTION & ADAPTERSMonster Cable Outlets to Go White Mini Power Strip – 4-Outlet
    ENVIRONMENTAL OPTIONSPlant A Tree – Notebook, Netbook, Laser & Inkjet Printers, LCD Monitor Offset
    ALSO INCLUDED WITH YOUR SYSTEM
    AccessoriesAlienware Orion M14x Neoprene Sleeve
    WIRELESS CARDSIntel® Wireless-N WiFi Link 1000 a/g/n 1×2
    MEMORY8GB Dual Channel DDR3 at 1600MHz
    WIRELESSHD OR MOBILE BROADBANDZyXEL AeroBeam WHD6215-R Wireless HD Receiver with Internal 60GHz WirelessHD Transmitter
    BLUETOOTHInternal Bluetooth 3.0
    MOUSE POINTERSAlienware M14X 150W A/C Adapter
    Adobe Reader Acrobat SWAdobe Acrobat X Reader
    AVATARHinge Up WLAN + DMC – BLACK
    NAMEPLATEThank you for Purchasing Alienware

    Dell XPS 15 ($2315.97):

    PROCESSOR2nd generation Intel® Core™ i7-2820QM processor 2.30 GHz with Turbo Boost 2.0 up to 3.40 GHz
    OPERATING SYSTEMGenuine Windows® 7 Ultimate, 64bit, English
    OFFICE SOFTWAREMicrosoft® Office Home and Business 2010
    MEMORY8GB Shared Dual Channel DDR3 Memory
    HARD DRIVE750GB 7200 RPM SATA Hard Drive
    VIDEO CARDNVIDIA® GeForce® GT 540M 2GB graphics with Optimus
    HD DISPLAY15.6 FHD B+RGLED TL (1920×1080) and Skype-Certified 2.0MP HD Webcam & Facial Recognition
    INTERNAL OPTICAL DRIVETray Load Blu-ray® Triple Writer (reads and writes CDs, DVDs, BDs) with Roxio Creater 2011
    MOBILE BROADBANDVerizon Internal Mobile Broadband Card with GPS (Gobi 5620)
    Service Activation Available
    Pick your plan and activate service in cart by clicking ‘Pick Your Plan’ on the next page.
    BATTERY OPTIONS56 WHr 6-cell Lithium Ion Primary Battery
    SOUND OPTIONSJBL 2.1 Speakers with Waves Maxx Audio 3 + Creative SoundBlaster X-FI MB 1.2
    Personalize
    SUPPORT1 Year In-Home Service after Remote Diagnosis – No Software Support
    OS RECOVERY MEDIARecovery DVD for Windows® 7 Ultimate, 64bit, English
    ONLINE DATA BACKUPDataSafe 2.0 Online Backup 2GB for 1 year
    TRUSTED IDTrusted ID,IDSafe, 12 Month Subscription, Digital Delivery
    ENVIRONMENTAL OPTIONSPlant A Tree – Notebook, Netbook, Laser & Inkjet Printers, LCD Monitor Offset
    My Accessories
    BAGS & CARRYING CASESTargus A7 Slim Topload- Fits Laptop Screens up to 16″
    WIRELESS + BLUETOOTHIntel© Centrino© Advanced-N 6230 & Bluetooth 3.0
    COLORSElemental Silver Aluminum
    KEYBOARDBacklit Keyboard – English
    ALSO INCLUDED WITH YOUR SYSTEM
    XPS 15XPS 15
    Integrated Network AdapterIntegrated 10/100/1000 Network Card
    Adobe ReaderAdobe® Acrobat® Reader

  26. Andres C says:

    http://web.cortland.edu/andersmd/ERIK/sum.HTML
    here is the link you can see Erik Erikson’s development chart.
    i am doing a project for my psychology assignment about 8 stages on Erikson’s Theory of development. my task is to find at least 5 people and ask them about any incident in their life that conects to Erikson’s theory of development. i have done 1 for my self and i need 4 more people. all you need to do is to describe the incident and why or how you think that your incident relates to Erikson’s theory of development. can anyone please do that i am not allowed to ask any of the family members or friends.

  27. Xbox360king says:

    I am 34 yrs old single male from Calcutta,India.I am a BSc graduate from Univ of Calcutta.I am presently doing my MBA in Mktg from SMU(Sikkim Manipal University).I am in the final sems to be completed in Jan 2012. I am also pursuing a PHP web dev course which will complete in the same time. I know some bit C language.
    I have 5 yrs pharma sales exp but I left it last year as I was frustrated with this profession- I was not getting any increment.I was not doing job properly as I was not mentally satisfies with the job condition.Also I was not seeing any growth prospects ,plus I was working under on relative who was not helping much.
    My parents were also reporting my activities. From the initial days I hated sales & I dont want to get back into sales again.
    Now I feel afraid & confused as I am already crossed my right age to fight back.
    So Sir/Madam, I seek your advice which will be the right path for me -
    1)Going for PHP Web development career with no Computer Science background?( Also I have to start at a very low salary in a very small company ,maybe a structureless company ,Also I dont know what future is there in working in such a small company at this late age? So please advice me in this regard)
    Or
    2) Should I try in MBA related lines?( I am afraid of sales jobs & my spoken English communication is not good.Plus I am little too lazy for outdoor hectic jobs with targets.)
    I am suffering from mental depression (my opinion,I have not checked with a doctor but everyone says I am mentally ill as I shout and break things apart in times of quarrel with my parents. I feel they are responsible for the misguidance and my condition now)
    I also suffer from frustration because I dont have any friends or any love in my life.
    My mother is very abusive and willing to get me married. Also I tried but no female seems to be my girlfriend.
    People say bad things that I did sex with my sister which is totally a lie.
    Pls help me & tell me what to do in such abusive & negative atmosphere I am living in.
    I cant live my home as that will worsen my condition.
    Error:READ –
    “I cant leave my home as that will worsen my condition.”

Leave a Reply

Message