I would like to develop a php based web application, preferably using MySQL and CodeIgniter PHP Framework. I've never used Weka before, but my assignment requires me to connect Weka to PHP.
The plan is to develop a dashboard (using php) which is going to be used by the school administrator. They won't have to interact with weka, since they are going to use the dashboard only.
When they enter the student data, php will send the data to weka and weka will perform data mining on the data. Once it finishes processing the data, the result will be returned back to php and displayed in the front end.
I have done a lot of Google to understand how to solve this problem, but most of the answers they provided are dead links or didn't offer much help.
Please help and thank you very much
I also have done my project analysis in weka front end used in asp.net. my opinion you just convert your datas to CSV file and attach to the weka analyse it.I hope it will be easier to you.
Related
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
I have just about got my head around how JavaScript frameworks like Backbone.js and Spine.js deals with the client-side state of a data model in regards to updating views etc. I am looking to build a web application with Backbone that syncs its model with a database. Most of the examples out there use Ruby, but I am currently much more comfortable writing PHP. I have experience with MySQL and MongoDB.
I am looking for a very basic, stripped down version, of a RESTful web application that uses Backbone and syncs with a database through PHP. I have found tutorials like this one and this one, however, even these are too complex for me to learn from.
It would be nice to have a very basic example. For example, a HTML form input, and a list. Enter into the input to add to the list. Of course, this data model will be synced to a database (preferably MySQL). Would anyone be able to provide me with the code for this example? I am comfortable with using a PHP framework like Slim also.
Once I understand how to sync created data to a database, I can then begin to grasp the rest (CRUD). I have seen very few tutorials out there on how to this at a basic level with PHP, so hopefully any support will benefit others too.
Have you seen this one from net.tuts? I think they will post a new tut soon with more details
Edit
And there are at least 2 similar questions here actually:
simple PHP code sample to serve backbone.js
Backbone.js How to use with PHP
I have a PHP website that lets users add textual information (notes, posts). I accomplish that by having a database and PHP scripts that insert, delete, edit, and share that info.
Due to the extraordinary success of this product I want to move into the mobile app space. How could I go about wrapping my PHP code in C or Objective-C so that I could re-use this when building an iOS app?
If I can't re-use my PHP code in this manner, how do I go about using C or Objective-C to connect with my database and mimic the functions of the website?
This article shows how to create a login script for an iPhone app using PHP code:
http://kiksy.tumblr.com/post/525713227/iphone-login-app-using-php-mysql-tutorial
Could something similar be done to bring across the rest of my PHP code in an iOS app?
You can not in any kind reuse your PHP code within a native iOS app. Well, at least not the part that renders the UI (HTML, Javascript). You can reuse all of your business logic (adding posts, getting overviews, deleting posts etc). This would be achieved by wrapping your business logic with a JSON or XML based interface towards your iOS app. Your iOS app would then request the data / initiate the transactions using JSON / XML and render it natively on the device. You would need to entirely rebuild your PHP-based UI part and create an Objective C / Objective C++ based version of it. This might be the right solution in case your application needs a fast, responsive and eye-candy-rich UI. Another point for creating a native app would be sales via iTunes.
You may however use a web-based app on the iOS devices by using your PHP code as a whole. For that scenario, all you will have to do is take the smaller screen and limited network bandwidth into account. Without knowing your exact demands, this solution seems to be the most appropriate one. This will allow you to quickly deploy updates and will widen the audience towards other mobile devices.
A third solution would be something that is commonly called a hybrid app. Such hybrid app uses native parts wherever the demands on UI and processing are high and web parts on the rest. Building a hybrid app will also possibly minimize the costs of implementing further versions needed for Android and other platforms, if desired. This would also allow you to sell via iTunes. From my experience however, hybrid apps suck and are tough to develop and debug as you will end up having to communicate between HTML/Javascript and Objective C/Objective C++ (namely the UIWebView). Let me get it straight, this is technically totally possible but again, from my experience the results are not as slick and funky as an entire native app. It has however become a trend to use this approach.
One suggestion would be to use a wrapper library such as this: http://www.swig.org/.
PS: Objective C and C++ can also be used with iPhone development.
You're in a new league. It's not that simple. ground up build is what you need in order to do it correctly
Take a look at http://www.appcelerator.com/ which let's you write your code in Javascript (might be easier for you, coming from web work) and compile it for iPhone and Android.
To get the data from your PHP app you will have to provide some kind of webservice.
Use phoneGap, this way you don't have to create anything from scratch. Use your URL to load into web view phone gap created and you good to go. Link: http://phonegap.com/
Hi I'm just after some advice/input.
I'm developing an application that has a MySQL backend, it has HTML pages that use jQuery to access PHP pages returning the data from MySQL in JSON.
Now, what I need to know is there a disadvantage to working like this.
The main advantage I can see that I can seperate the presentation layer and data access layer. Therefore it speeds up development once I have setup the objects in PHP.
One of the main disadvantages I can see (or I think I can see) is that Google won't be able to see the results inserted by jQuery Ajax/JSON.
Open to any advice, thanks in advance.
Regards, Andy
I strongly recommend that you enable your application to work for users without JavaScript support as well. If you do that you'll have a quick application for your visitors with JavaScript, you'll have a working application for visitors without and Google won't have any problems indexing it.
I would like to know how is it possible, or what knowledge do I need to acquire to create a small Adobe AIR application, probably like a employee directory search that will search and show a list of employee names, from a application based on php/mysql?
Thanks.
First thing you need to do is the communication with php/mysql application based on JSON or XML (whoever suites you). You have to have a page like website.com/employee_list.php which returns you the XML or JSON that you call from ActionScript.
Then you need a fair knowledge of ActionScript (which isn't a very hard language if you programmed before in C or C-based languages), but don't be scared, the help covers it all.
After that you will require an IDE of choice between Flash or Flex (the second is easier to the beginners due to its large object and display library which helps you create rather fast a good looking application.
The search for employees gives you 2 options to realize it:
search made via php/mysql and you
just output the results
search
made via ActionScript searching on
the array of results obtained in 1st
step by requesting to the php/mysql
app the complete list of emplyees
The final step is just to write the code and export the project as an AIR application.
Hope that helps! :)
As an addition to Bogdan's answer, you can also program in Javascript in Adobe Air. Everything (well almost) you can do using the Flex components has a Javascript wrapper, so it is possible to write an Adobe Air app without using any Flex at all, and only using HTML/Javascript.