small php commercial grade open source project. Suggestions? - php

Hey guys, I'm learning PHP and I would like to have a look at the source code of a small "commercial grade" PHP project.
Why small? Well because I'm a beginner and big projects such as Drupal or Wordpress are overwhelming right now, aka I don't understand a lot.
Why "commercial grade"? I would like to see if things are done in a different way in comparison to theory, courses and books.
Thanks for any suggestion!

At Google Code you can search for open-source projects in PHP, browse and download its code and even contribute!

I wouldn't write off Drupal or WordPress completely because of their complexity. One good way to bite off a small chunk is to look at the code for a module or plugin. In particular, look for a popular module or plugin that looks interesting. Since those "popular" modules are in use on a lot of sites, they are likely to be more "commercial grade" than the less popular ones.

Check this out:
https://github.com/languages/PHP
http://sourceforge.net/directory/language:php/os:windows/freshness:recently-updated/
You will find lots of small projects.

Related

PHP-Structure overview messy project

Im looking for an prefferably automated tool that generates a diagram over the
structure of a laaaaaaaaaarge php project, files with 10 000 lines of code in them.
Mixed php with html with css and javascript here and there.
Need the ones in charge to realize that the project needs refactoring.
Theres not really any oop in this project so some kind of class diagram overview
would only show a small part of the project since its 99% functions.
Anyone that could point me in the right direction to sort out this mess? :)
I don't know if this will truly help but it's too big for a comment..
There is a program called Doxygen which can generate documentation from php source files, now bear with me..
There is an extension to this program that generates structographs(?) structograms based on the source too, it may be of some help.
Failing that this question and maybe this one can offer you some advice on how to get the message across.

PHP newspaper software

Does anybody know of an online PHP newspaper system? It wouldn't have to have any specific features, it just needs to function as a newspaper. I really need this, and any answers would be appreciated.
I would like to make a developers newspaper. This isn't just my own movement, by the way.
Openpublish is a fantastic out of the box ready to rock distribution of the Drupal CMS specifically for news media outlets..check it out:
openpublishapp.com
What, precisely, do you need that can't be covered by a blog, or other standard Content Management System? See here for CMS features.

My first PHP / MySQL app - what's the next step?

I'm developing my first web application using PHP, MySql, and HTML, but I'm at a roadblock: now I have to start piecing all the pages, modules, and included files into an actual 'application'. I'm really trying to make this an answerable question, and not a discussion topic, but now I'm thinking about 'web design' - and I don't want to have to learn css and all that, because I want to speand my time programming and not designing. So what I'd like is a utility where I can visually design, say a menu bar, and just paste the code into my application where I can work with it. Or I want to format text visually, and paste the css file into my application. I guess what I want to easily design a layout with forms, images and graphics, and have them show up with my dynamic tables. So my question is - is it a good option to go with a big design program like Dreamweaver for this, or is there an easier way? I'm not really even a programmer (can you tell?), and I'm figuring this out as I go. As an aside, I'm pretty pleased with what I've got so far - I think the functions and modules are pretty useful, and the end product (however I get there) will be great. Apologies for the rambling question, and any advice is really appreciated.
In a perfect world, development would happen entirely independently of design and you could focus on only what most interests you.
But that isn't reality.
Learning HTML and CSS will be invaluable if you expect to have any success with this project or your next. And they are not that hard to learn.
My advice? Download Notepad++ (or TextWrangler if you're on a Mac), FireFox, FireBug, and start playing around. Do some tutorials. Force yourself to go through the process.
No reason to avoid learning something.
You should really learn HTML and CSS or alternatively hire a web designer. Code produced by Dreamweaver and similar programs is terrible. Especially if you try to mix it with PHP you'll get problem. Really, at least write the markup yourself, the styling may be done by another person ;)
I think even if you don't want to become a "web designer", it's still worth learning the basics of CSS. Just read through the W3Schools CSS tutorial - that will give you enough to get started, and won't take long.
I wouldn't recommend going the Dreamweaver route - you'll learn a lot more if you code by hand.

Is there any sites where users share custom PHP code?

Do you know of any websites that allow users to share there custom PHP functions and code snippets other then? It would be nice to compile a list of a few good resources
http://www.phpclasses.org
Might be obvious to some, but don't forget to include http://pear.php.net/ in your list. ;-)
There is Snipplr.com - A public source code repository for sharing code snippets.
Back in the day when I built some PHP3 sites,
PHP Builder was the place to go. They are still live, but URL shows a number instead of domain name :)
http://63.236.73.209/snippet/
Hot Scripts is one of the biggest sites to my knowledge. There is commercial and free code (easily sortable).
And you should probably make this Community Wiki.

Where can I find videos of someone (who knows what they're doing) writing PHP?

Its been YEARS since I did any PHP.
I am working in .NET but supposed to be teaming up with some PHP people. I'd really like to get up to speed a little in whats changed in the language and the IDE tools - but I really don't have the time nor energy to learn anything. I probably won't have to write any PHP, but I want to.
I'm looking therefore for some kind of videos like these .NET ones where you get to see the IDE, the basic way of working etc. etc. I'm not looking for someone using notepad - I want something where I can see how real expert PHP programmers work.
the thing is that with PHP there is no single "the IDE" and "the way". there is a multitude of tools, frameworks, libraries, extensions, IDEs, plugins, etc.
my favourite IDE for PHP is Aptana and the nice thing about Aptana is that there is Aptana.tv: http://www.aptana.tv/ which has very nice video-casts about all aspects of the IDE...
the Video PHPEditorPart1 is quite close to what you're asking for.
I find Lynda.com a pretty useful resource, even though the videos aren't free. If you can get your company to spring for the cost of a login it tends to be a pretty decent place for anyone in the office to learn a few new skills.
For free stuff I find the learn list pretty decent and the PHP link in the learn list got me this site for php videos.
Hopefully something useful for you in those links.
Only thing I can suggest is the CodeIgniter how-to videos here. It should give you a general idea how the architecture of a typical PHP app is layed out and how a coder goes about creating it.
Whatever you do, do NOT search for PHP on Youtube.
PHP has no specific IDE. You can write it in notepad or vi if you felt like it.
Your best bet is to start reading books. Videos are great but learning the methodology is way more important than learning any IDE. When you watch videos you are missing out on so many side details its crazy.

Categories