Building Web Based System With Graphical Presentation - php

I am new to this, really new. This is my first time to develop a web-based system with graphical presentation (visual representation). Actually I don't know where to start and how I should start. I need something like www.simpleerb.com where we can easily move the tables in the restaurant.
I like to know where to start? What engine it is using in order to develop something like this? I like to have a system where I can easily drag my visualize information in the table. For example, changing something in the time slot. Please help me as I don't have any knowledge on this. I only plan to use PHP + HTML + AJAX and some basic stuffs. But definitely cannot do this one. How can I achieve this?
Thank you guys, appreciate your help.

There isnt simple answer to your question, you have to learn much. On windows you can easy use XAMPP - http://www.apachefriends.org/index.html. Its simple apache server, include php, mysql, apache. And for some programing, i recomended you to start here: http://www.codecademy.com/learn - basic stuff of web development.
And for javascript, you can search for codecombat.com, its game for learning it.

Related

Use Visual Basic or PHP / SQL? (Need Advice)

I need to know if I should create this project as a Visual Basic Windows Application or if I should make it in PHP/SQL.
Form http://s13.postimage.org/mhpqbp43r/jobs.jpg
Basically I'm trying to use this application (or web form) to edit an HTML table filled with job data.
So if I add a new job listing through a private .php form or VB.NET app it will appear in the HTML in my website.
Btw, I'm new to VB.net, PHP and SQL.
Please let me know the easiest way to complete this project. I'm just looking for some general advice please.
Thanks in advance!!
if you are comfortable in vb you can stay on it, thats also a great language with huge capabilities. Its your opinion in which you are comfortable,but if you are beginner
Switch to PHP, both languages have capability to built a form but mostly web developers uses PHP. PHP can make stuff very easy with SQL while in vb its get a little difficult.
I cannot talk about their pros and cons here as its not allowed. So swithch over PHP without even thinking twice - if you want to become good developer you should adopt it because for web developer PHP really matters in their future

Are there comment system/user loggin type modules through PHP API/Python API outside of CMS?

I'm primarily using Drupal and am considering moving away from CMS. If I were to build my own platform could I integrate modules like commenting systems, user login, etc. through a PHP/Python API? What would be the proper steps/good places to look/good tutorial on this? Would I have to build all of my own tables manually to suit the needs of such custom modules? I'm wondering if this would even be possible with out having to hard code all of this by hand? Thank you.
You can drop the Disqus commenting system into any site. Same with Facebook Comments.
First of all if you are considering moving away from CMS than you should consider using some sort of framework but with time you will come to idea that you need your own shit in order to be satisfied.
Second, subject you are trying to decipher is a little bit more complex than just writing it down here.
I would suggest you to first think what do you need. What is your main goal with it or what are you trying to accomplish? For example in meaning of commenting, if you want the truth nor PHP nor Python are masterpieces. Why not to consider Node.JS for that?
I mean, web is becoming real-time more and more. Now days we have scripts or to be more precise, pieces of art such as Socket.IO who can with help of Node.JS handle large amount of traffic without any problem. Something nor Python nor PHP can do.
Some stuff you will need to code by yourself but most of the time you just need to code "architecture link" between one versus many features. Eg. take some code and adjust it to be able use it from your own framework or whatever.
As far I see it. I like to do all crucial parts by myself but for example there is Zend Framework and you can use ACL + Auth library and start from there.
Hope this makes some sense. Cheers!
Comment systems
Services
Disqus
Intense Debate
JS-Kit Echo
Chirrup
InstaComment
Have a look at the comparison.
Self-Hosted
Commentator

how to use codeigniter for application

I'm new to codeigniter but I wanted to create an application like that of http://redbeacon.com or http://thumbtack.com.
What is the best approach to go about creating a site like one of the above and is there any open source application I can use as a skeleton? Even a tutorial on creating a site like that would be great!
Thank you so much!
I doubt there are any specific open source solutions to your particular problem so I would say that you're going to have to create most of the site from scratch. That is, provided you have a good knowledge of PHP already.
If not, then I would suggest starting with some good php development books that will teach you the fundamentals of PHP.
For learning CodeIgniter you're quite lucky. One of the best parts about CodeIgniter is that it is very well documented.
For the quickest ramp up time I would take a hard look at Expression Engine. It is a commercial web publish tool that is based on CodeIgniter - so you get all the power of CI but with much greater ease of use. You can make pretty much any kind of site/web app with EE: showcase.

Ask SO: Good PHP code to read?

It's quite easy for me to study html/css, as it's openly available.
But I can't do the same with PHP/AJAX (and MySQL). I'm trying to learn both, but there's not much good code to find.
Any tips where I can find some (to read and to use)?
Read code to learn? I generally start writing code to learn it after the end of the tutorial. Go to http://www.w3schools.com/ that contain tutorial, sample code and a practice tool for you to write code and test it online.
Try all the tutorials you can find. After you feel like you cannot learn anything from them try and build an application.
You could also get a look at some php frameworks
Read Wordpress, CodeIgniter and CakePHP. Those are very well written.
The best thing to do in my eyes (its how I learned a huge amount intially) is to have a specific task you want to achieve, then break that task into logical steps and try to find information/tutorials to tackle each one. Then use google to pinpoint targetted tutorials (seriously, google is a heck of a resource, dont put it down, its basically an online library).
So, say you wanted a way of uploading a file into a database using HTML, PHP and mySQL - that is your task. The next thing would just be to search for say, 'PHP mySQL file upload tutorial how to'.
Frameworks are great tools for developing your applications, however I would tend to say (personal opinion) that at least initially, it is better to learn straight PHP, the ins and outs, the basic functions and uses. This will help give you the knowledge of how to apply/develop with a framework better as you will understand the advantages it offers relative to straight PHP and therefore how to utilise the framework more efficiently.

Is there an application that can convert PHP code to ASP.Net?

I'm tired. I have ~30 really messy PHP files in my project. Hearing people say that Asp.net is more structured , that it is better (I'm mostly relying on Jeff's advice #codinghorror here) and that it is possible to use asp.net without using bloated software from M$. I don't want to and will not convert the the work done upto now, by hand.
Note: I want a good tool -- I don't want to go from ~30 unstructured and messy files to even messier stuff stored in a quantillion directories with odd file names (Java)
The difficulty is that you can do some things automatically in ASP.NET that you have to do by hand in PHP. For example, if I change a input textbox and when I tab away I want it to be saved automatically, in ASP.NET I can use AutoPostback='true'. Then, in the code-behind you would handle this update.
My point is that ASP.NET and PHP are very different, in that there are so many tools that ASP.NET that you can use, so your code will look very different when going from PHP to ASP.NET.
I think using a tool would be a bad idea, as this rewrite would give you a chance to clean up the code and to decide which options to use that are available.
UPDATE: In order to do more with interactive applications there is a free toolkit available that I would recommend:
http://www.asp.net/ajax/AjaxControlToolkit/Samples/
I build automated translation tools for a living (see DMS Software Reengineering Toolkit. In my 15 years of experience doing juist this, it isn't worth the trouble to build ("customize DMS" or do something similar with a similar techology if you can find it) a translator for 30 * 1000 lines of code.
You might be hoping for somebody to have done this in advance, "Gee, wouldn't it be keen if somebody built such a translator and I can just use it?" Such a hope is pretty forlorn. The problem is that every source application uses some arbitrary combination of input technologies (you're probably using PHP, MySQL, JavaScript and some weird libraries) and want some arbitrary configuration of output technologies (ASP, TSQL, JavaScript, C# libraries). The space of input/output configurations is too vast for you to have any real chance of encountering at translator that somebody might have built that matches your needs. Therefore you'll need a custom translator. Ooops, back to the previous paragraph.
You can pray for miracle. But I suggest you clean up your PHP files and live with them. The world is full of "beware what you build, because it will last a lot longer than you expect". Choose your technology and architecture more carefully next time, so you don't end up with "messy files".
I'm not sure how much luck you'll have finding a program that'll convert 30 messy PHP files into beautifully structured ASP files, I think someone would make quite a fortune with something like that (and a lot of us would be out of jobs). However, if you really want to pursue it, googling for "convert php to asp.net" turned up multiple results.

Categories