PHP/Django/Rails/Flex hybrid demo - need project idea [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Let's say you were crazy enough to want to try to combine a number of different technologies just to show that you could do so - what kind of app would lend itself to this type of project as a demo for a potential employer?
Specifically I'm thinking of combining the following technologies:
PHP/Django/Rails/Flex
Does this sound ridiculous or could it be a useful exercise/demonstration of one's abilities?

If I were an employer, I would be much more impressed if you could implement the same sample application three times:
Rails/Flex
Django/Flex
PHP/Flex
If you use ReST, then the Flex side wouldn't need to change too much to support each server technology, and you would demonstrate that you're a versatile developer that can learn new technologies quickly.

How about a blog?
Of course, some folks might consider it cliche, but it's also a fairly well-rounded sort of Web project -- there's some database-design in there, some app-dev in your language of choice, some SOA (Web services with SOAP or REST, maybe some RSS as well), some UI design, some UI dev in Flex, and so on.
It's also a familiar-enough idea to the kinds of folks who'll probably be interviewing you, so you won't have to spend lots of time explaining what it is before digging into the technical details, and it's non-trivial, but still something whose scope you can keep under control. I think it's a good project for learning a new Web technology in general.
In terms of which part does what, you might consider doing the CMS with Flex, the majority of the public-facing site with PHP (or Rails) and HTML/CSS, and then adding one or two Flex extras to that as well -- a photo gallery, maybe, or a video/media player. Or what the heck, be different -- just build the whole thing in Flex, like Adobe's done with its XD site.
Have fun and good luck!

I dont't think that mixing php, django and rails makes sense for a demo...
I'd mix flex + one of django, php or rails.
You can then use pyamf, for example, so that you flex app can talk to django. Then look up for some php JSON lib and make the same with php + flex with json, and so on...

I think combining PHP and Rails or PHP and Django would make sense, but perhaps not combining Rails and Django. Rails and Django are too similar. They're modern web frameworks based on modern languages. What they lack, compared to PHP, are open source applications.
I suggest combining WordPress or Drupal with Django or Rails. To combine Drupal with Rails, you might try using drupal_fu. You might try a Django site with a WordPress blog nicely integrated, including using Django authentication for comments on the WordPress blog. Or you might do a Drupal site with a custom part of the site written in Rails.
Perhaps one way you could get both Django and Rails into the mix would be to use Rails for the base of your site and use Django as a way to use a Python library (for something that's done better in Python). One example I know of Python being used in a Ruby app is GitHub, which uses Pygments, a library written in Python, for source code highlighting. I don't think they use Django for it, but you could!

Related

Good implementations of MVC in PHP [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
I've done some development in RoR and I'm now trying to make something in PHP.
I think the MVC architecture is an ideal frame for my current project (users, application data, purchases, etc.)
Is there implementation of MVC on the web that is recommended or does PHP just not work in the same way as Rails and every MVC in PHP must be hand made?
My google fu is weak and I couldn't really find anything conclusive.
These four are MVC frameworks:
CakePHP
Symfony
CodeIgniter
Kohana
I prefer CodeIgniter and Kohana, because they're pretty focused and not bloated at all, and because they both, besides being MVC, are also big on the convention over configuration principle, meaning you don't have to go around maintaining XML/YAML/etc config files of your classes, URL routes, etc.
In particular I like Kohana because it has this nifty file system-based configuration hierarchy (they call it "Cascading Filesystem") which basically means you have even less configuration nonsense to maintain, because based on where you put your app's files (classes, config files, etc), the framework will know which parts of the system will be overridden. So I'd recommend you give Kohana a test run. Beware though, it's relatively new and the documentation is kind of weak, so if your google fu is indeed weak as you say, then you might be better off going straight for CodeIgniter, which has been around for longer and thus has more docs. But I'd still keep an eye on the Kohana project.
Symfony is... too bloated for my taste (i.e. having to run scripts in order to "generate views" and whatnot), but I've seen some large successful projects running on it.
Rails is an MVC framework, for PHP you could use CodeIgniter or CakePHP both of those use the MVC design pattern. CodeIgniter is the bomb.
You can find more discussion about PHP frameworks here: http://www.quora.com/Whats-the-best-MVC-framework-for-PHP
I haven't looked into other frameworks, I have found Codeigniter to satisfy most of my requirements from an MVC framework.
Sure, Theres Codeignitor and Frostbite Framework.. Both are good, and easy to find via google. Here is a whole list of php frameworks: http://matrix.include-once.org/framework/simple
Everyone else pretty much nailed it. The only reason I'm adding on to this question is because you use Ruby on Rails, and as such, CakePHP is going to be the most similar framework for you.
I use CodeIgniter because it's very well-documented and lightweight (with very little magic), but that's just my personal preference. Cake will be most like what you're used to.
I think laravel is best for you. Remember, frameworks are for SSBs Small scale businesses. For large scale businesses you write your own framework with all planning, execution phases etc.

RAD Visual Web Application Creator/ Builder/ Designer for PHP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to see if any of you know a (free and open source will be ideal) tool/ app that can help build a php web application very quickly without investing too much time on writing codes, preferring drag and drop/ point and click work-flow designer for logic design (see Agile from Outsystems below). Plus, visual designer for the business logic is great since it can help a developer visualize the logic better.
There are a lot of GUI builders, form builders out there, but I am looking for one app for the entire web application development process.
My goal is to find an application that a team of developers can use together and use the build-in code of the app as much as possible. E.g. the app will provide a modular just for handle user login or a shopping cart; a developer just need to drag and drop the modular to the logic designer and the code will be generated. This way the functionality will be in a module and code will always be standard across developers. So if a new developer get on-board, he will just need to use the system and get up and running quickly.
To explain this better: there is a lot php frameworks, e.g. cakephp, CodeIgniter, etc which I can use to help coding, but still I need to create (code) the GUI, writing quite a bit of codes. I am looking for a tool/ app that is a little more high level than those frameworks. Here is 2 examples apps I found during my google search which they have visual logic designer and gui builder in one single app. Also a single click deployment (but I need it to be php apps or at least I can deploy the (php) code to a LAMP/ WAMP server):
Wavemaker: for JAVA
Agile from Outsystems: for JAVA or .net (This one is really good, with work-flow drag and drop logic designer!)
Talend: it is just an ETL tool, but the concept is what I want to bring up. Drag and drop, point and click logic design. Custom code can be added if it is needed, but the drag and drop process already finished the structure and most of the coding of the web app one needs to build.
I want to list Adobe Flex, but it is more like a GUI designer + IDE, not exactly what I want to describe here. The drag and drop/ work-flow logic designer is a key for the app.
I could go for the CMS route by learning how to extend them, but it is not that flexible for me and is a long learning curve.
Anybody came across this type of app before? Or any idea of how can I find those apps? I googled them for long time, I don't see any of them for php and just few (just 2) for Java.
Thanks in advance!
Here are some free PHP RAD tools:
AppFlower
AppGini
nuBuilder
Limbas
CrossUI
You can extend this list if you know more.
I am just trying out RADRIA, which you can check out at http://radria.sqlfusion.com/
Open source, free rad tool that runs on LAMP server and includes tools for creating both web pages and online linked databases with add and update screens. At first glance, appears to require some knowledge of SQL to install some database features. A low-budget Wavemaker.
My experience is that there is an eternal trade-off in software: the more it will do, the more difficult it is to learn. Because Radria will do a lot, it presents the user with a forest of menus.
Delphi for PHP seems to fit almost all your needs, but it's not free.
You can try PHPRad. Just connect to your database(MySQL) then it can generate complete application.
It uses simple powerful MVC framework.
You can drag and drop components like:
charts
record counts
Dynamic Menus
Sub-page
etc ...
onto any page.
it has flexible numerous options that helps you generate your applications that best suit your specifications.
You can download the window setup from here.

Does anyone know of a good framework or application to rapidly build front-ends for MySQL and PHP based web applications? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Can anyone recommend a good, visually attractive PHP framework or application to rapidly create back office / admin interfaces to MySQL based applications.
I generally have to build bespoke back office UIs for every PHP web based application I write and wondered if there is an easier way of quickly building a web front-end to MySQL data.
Update
Just to be clear I'm not looking for a framework to write code per say or an IDE, I'm looking for something to rapidly build rich graphical web interfaces.
I'm looking for something to rapidly build rich graphical web interfaces.
The thing is, in order to have a rich UI in the browser, you either need third party plugins like Flash or Silverlight or use the traditional combination of HTML, CSS and a whole lot of JavaScript, because that is how the behavior and Ajax capabilities get into the UI components of a RIA. A serverside framework capable of creating a rich UI would have to know how to create all this. Frameworks like this do exist (GWT comes to mind), but there is no dedicated framework for this in the PHP world (at least not to my knowledge).
The notable PHP frameworks all offer rapid application development out of the box. Some of them, like Cake, Symfony and ZF (don't know about CI) even offer make-like tools to create controllers, models and view scripts through code generation, speeding up development time even more. Feature-wise, there is very little you will miss in any of them. However, none of them give you rich UIs like that of ExtJS, Dojo or jQueryUI (to name some JS framewoks) out of the box.
The three closest things to what you are looking for would be to
use the available PHP wrappers for Ext.direct or
Zend Framework's Dojo components or
Zend Framework with Flex/AMF.
In addition, there is frameworks like PRADO which use their own templating language to create rich components or framework that use XUL to use the browser's native UI components. I'd categorize them as, well.. not so common.
I'm not sure if you are talking about an IDE (programming application), or a PHP framework.
If you are talking about IDEs, Zend (http://zend.com) or Eclipse (//http://www.eclipse.org/) are the two major IDEs out there. Zend has its own framework and Eclipse allows you to use whatever framework you choose. There is also, Aptana (http://aptana.org) and Adobe's Dreamweaver.
As for PHP frameworks, Zend has its own, but there are also CodeIgniter (http://www.codeigniter.com) and CakePHP (http://www.cakephp.org). I prefer codeigniter because its more efficient and its documentation is amazing. Although CakePHP has its benefits as well, especially for rapid database development.
I think codeigniter is a good choice. Cakephp has very ambiguous documentation...
Embarcadero's Delphi For PHP is quite good. It uses the VCL For PHP framework, and provides an easy-to-use, drag-and-drop interface for creating the web applications.
A different approach to the other answers. You asked for framework or application.
PHPMaker is an application that rapidly generates a complete web application frontend for a database. You configure the options you want, it generates the PHP code.
While you can edit the generated PHP and templates, this is more about creating a web app through configuration rather than coding.
I've used it a lot for rapidly generating administrative interfaces which only need the general CRUD style interace.
http://www.hkvstore.com/phpmaker/
For a rich and high-level framework, you can look into Agile UI. It contains many UI components (CRUD, Form, Menu, etc) that will help you take your mind off technical details (such as HTML) and focus on the UI/business logic. Works with MySQL or other data persistences.
p.s. I'm a contributor and will be glad to help.

Ruby on Rails, PHP or C++ for web social network [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I have chosen diploma work in university. It's a mini social network. But now I am really stuck with which technology I should stick. I am average at C++ ISAPI web services development, below average PHP(had few projects with it) and new to Ruby and its framework RAILS. I have a deadline 1.5 month to develop it(about 5 hours every day after my full time job). Also I heard that its very easy to learn and develop with Ruby on Rails. Considering C++ I know that I have to do lots of coding and work by myself and PHP looks almost the same to me. So I am looking for you skilled developers advise what would you do in my position? Learn RoR, stick with C++ or PHP or maybe use something else?
Definitely not C++.
I work with C++, Ruby, PHP, Ruby on Rails, CakePHP, CodeIgniter and Kohana.
Since C++ is more similar to PHP than Ruby and you have little time to learn, I would go with a PHP framework. Every now and then I like to make little social networks in my local machine , I would recommend that you got with codeigniter simply because it can provide everything I can think of that a social network would need and it's the easiest of all to learn and master.
Am sure these codeigniter screencasts will help you.
I've worked with C++ a lot, and also with RoR (1 released project). I would advise against using C++ for any web development, it's really not meant for it. Ruby on Rails is easy to learn if you have prior experience with web development. But if you already have some experience with PHP, I'd suggest sticking with it. There are some fairly decent PHP frameworks.
I would recommend Ruby on Rails given the time lines. The development in rails is really fast...and interesting too.
Additional stuff which you might want to learn would be some basic javascripts. Given that you already know C++, it wouldn't be difficult to learn.
yes, use rails - the following books will help you:
1 - RailsSpace by Michael Hartl and Aurelius Prochazka - the first Rails book I ever read, and it's a beauty. It takes you through the process of creating your own social network site. Nuff said... http://www.amazon.co.uk/Railsspace-Building-Networking-Addison-Wesley-Professional/dp/0321480791?ie=UTF8&s=books&qid=1209116263&sr=8-1
For more info, go to the website: http://railsspace.com/ - one thing to be aware of though is that the book was written when rails was at version 1.x so it's really geared towards users of that version BUT there is a zip file of the code for Rails 2.x users and I can assure you that it works just fine. if you do buy this book, it might be worth just following along doing everything by the book (i.e. using rails 1.x)
2 - Practical Rails Social Networking Sites - I bought this one too, and it's also very helpful http://www.amazon.co.uk/Practical-Rails-Social-Networking-Experts/dp/1590598415
Jim Neath wrote a nice article about Social Networking sites and gives some valuable advie on how to do it - http://jimneath.org/2008/04/25/building-a-social-network-site-in-rails/
- a word of warning though, some of the plugins/gems that he recommends are no longer advised (like restful_authentication) so just double google around before you use anything
With Rails, there are many many social networking plugins/template apps that you can download, modify and use - look at Insoshi http://github.com/insoshi/insoshi (created by the Michale hartl who wrote the first book that I linked to up top) - here's the projects homepage - http://dogfood.insoshi.com/
Also, i think this one looks REALLY impressive - it's called community engine - http://communityengine.org/
Good luck
Stick to what you know (or at least are better at).
Your C++ knowledge will help you in PHP. Don't think it will help you that much with ROR.
I am not saying anything bad about ruby or ror. Just saying that if you have a time limit and you have previous knowledge in C++ and PHP then why complicate your life?
As suggested use a php framework.
Good luck!

which is best framework or technolgy for a community site development? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
which is the best framework to develop a community web site.
For the MVC architecture, is there any disadvantage while using frameworks.
or is it better to develop that in a pure php with OOPs concept?
thanks in advance!!
Do you want an MVC framework or a CMS?
For MVC frameworks, there isn't simply the best. It's always about what you need, but here is a short overview of the most common frameworks.
If you're looking for a CMS I'd suggest Drupal for community like functionality.
or is it better to develop that in a
pure php with OOPs concept?
If you really need that last little bit of speed, do it in pure php...
I'd suggest, use a good stable Framework like CakePHP, symfony or CodeIgniter. It'll help you avoid a lot of mistakes you'd make if you do it all by yourself and it makes development (not the page) a lot faster.
I switched from pure PHP to Django (python) and I cannot tell you enough good stuff about it. Using an ORM and automatic admin system was key for me and have saved me tons and tons of tedious work.
If you don't want to learn a new language there're probably some very nice frameworks for PHP as well.
Drupal is a very easy to use and extendable framework for building communities and MVC apps in PHP.
For simple sites you can try CMS, such as Joomla or Drupal or even others, wich will let you concentrate more on content than on programming/modeling.
As for MVC, frameworks definitely help, you do not need reinvent the wheel. Escaping strings, session handling, db access, views templating, web forms and other important stuff is done in formalized, dev community proven/tested ways. More to say, frameworks leave you with the freedom option to enhance functionality (e.g. inheriting/overriding/adding classes). So try download some of them, try a simple app, take a look at the docs, and decide if it suits your needs.
Personally, I have a good opinion of Kohana framework.
take a look on elgg , this is new and has lot's of inbuilt things, and easly extensible.
I think for a community-site the idea/concept of the site is much more important than the technology.
Many technologies are mature for web-development. I would pick the one, you most comfortable with. From the features they aren't very different and if the technology is actively developed, you can be sure, that it will adapt future ideas.
I suggest you use some MVC framework. CMS systems are nice, but a time will come when you'll want to do something outside of the box and you will have to create plugins. Now, all this is nice until you have to upgrade. And you do have to upgrade because security issues arise all the time.
Anyway, here are some frameworks that are IMHO worth considering. It's important to use one which is known and popular because:
more users will be able to answer your begginer questions
more users mean bugs are found and fixed faster
there is also more user-generated content, examples and documentation
CodeIgniter and its fork Kohana
CI has excellent documentation, a few very good tutorial videos and it's easy to be up and running in a very short time.
Yii framework
Has excellent documentation, and is very powerful. Also, it is very fast, and beats most other frameworks on speed tests by a large margin. It takes time to learn to use it well, mostly because there aren't enough examples, and you don't have such great video tutorials like CodeIgniter does.
CakePHP
I find it a little bit too restrictive (file naming, placing, etc.) but this could be good for a complete newbie, or a team (less chance for maverick developers to mess things up).
Yii comes with a full stack of features, including MVC, DAO/ActiveRecord, I18N/L10N, caching, jQuery-based AJAX support, authentication and role-based access control, scaffolding, input validation, widgets, events, theming, Web services, and so on.
Yii is easy to use and is extremely flexible and extensible. Id recommend to check its extensions like backvendor http://www.yiiframework.com/extension/backvendor/ or coco http://www.yiiframework.com/extension/coco/ Ive tried backvendor, it really helps to save much time on the first stages.

Categories