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
like my all teachers are saying " You can do everything because you can, but your code looks like a sh**"
So I was looking for some good tutorials on internet about Writing PHP code so clean as it's possible. I didn't find anything so I need your help.
I need some url with tutorials about how to write clean php code.
It can be BOOK as well!
I don't know what your teacher what meant but I'm pretty sure writing clean code is write code what make sense.
What good write less if it's really hard to understand? For me, clean code doesn't mean syntax or less code only. Just write such that makes sense, use best practices and standards. It's a great start!
Because you brought up on books, here's one of these:
Clean Code: A Handbook of Agile Software
The Pragmatic Programmer: From Journeyman to Master (old but great)
Related
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 6 years ago.
Improve this question
Right now, I am using CI 3.0 . And for create report like invoice, monthly report sales, I using dompdf which is so spending time to debug coz dompdf not really support JS.
I was wondering a tools like crystal report , drag and drop report. I am not sure that PHP have like that.
I found php-reports, it looks interesting. But I dont know how to integrate it.
Perhaps, someone out there have solution to this PHP Reports, or maybe if you are share how to simplified creating a report in CI.
Thank You
maybe look at; http://www.hkvstore.com/phpreportmaker/
this questions lightly talks about using it; here
CI is great in that you are allowed to break the rules if you want. if its painful working inside the M-V-C approach then bend some rules or look at another method; like writing a library, or have your model generate more than just the dataset and include html ready for your CSS that your view just has to output (rather than parse).
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 4 years ago.
Improve this question
I am familar with CakePHP 1.3 and I would like to learn the novelties in CakePHP2.
I know there is the new cookbook and also the migration guide. Still, I would like something broader than the migration guide without having to read all the cookbook again. I am thinking about something like a series of blog posts, in the spirit of the Django advent.
Is there anything like this around?
At CakeFest this year Mark Story gave a presentation on the changes and they posted it as a video of changes in 2.0. I found this to be a good high-level intro and might fit what you're looking for.
The other presentations from CakeFest 2011 might be useful to you too.
I think the only things you need is 2.0 Migration Guide and New Features in CakePHP 2.0. Other thing is practice.
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 3 years ago.
Improve this question
I want to implement a decision tree (machine learning) algorithm in PHP. I've searched far and wide on Google and can find nothing in PHP.
Does anyone know a tutorial or function in PHP for implementing a descision tree?
Are you looking specifically for Php code or any other languages are ok ?
You can start from the source code of original decision tree algorithm-C4.5.It is public but has some restrictions I think. http://www.rulequest.com/Personal/
Here is a good tutorial that you may want to refer : http://www2.cs.uregina.ca/~dbd/cs831/notes/ml/dtrees/c4.5/tutorial.html
Weka implementations for decision tree J48 is available at : https://svn.scms.waikato.ac.nz/svn/weka/trunk/weka/src/main/java/weka/classifiers/trees/J48.java
If you are familiar with Python Orange C4.5 source code is available at : http://orange.biolab.si/
I do not work with PhP so I am not aware of any implementations in it. But all above implementations(C++,Java,or Python) are worthwhile too look.
Albeit being commented and documented in Japanese, this seems to be pretty close to what you're looking for: https://github.com/kokukuma/php-decision-tree
This is the most recent implementation of the C4.5 Algorithm in PHP on GitHub as of 2019: PHP-C45.
I'm currently using it and it's very efficient too.
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
What's a good tool to reverse engineer a set of php/html pages ? It's not object oriented, it's a big mess that started in early 2000 (so no UML tools obviously!).
I'd like to draw a link between files/functions that are included or called via the 'action' attribute of a form.
So basically, I would like to have a nice simple diagram to have a clear idea of how is structured a site, what variable are passed between pages through "action", the arguments of functions, in a //diagram// !
Javascript have no impact on the flow of pages here.
Don't tell me that my only hope is to write a big filthy tool to do that ?!?
Thanks-
You can use xdebug to generate a cachegrind file and then use Kcachegrind to view the diagram.
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 7 years ago.
Improve this question
I need the possibility to add videos to an article, do you know about something that might be usable? Only thing I need is just that it will be able to play flv video. I found HDFLV player, which is pretty fine but it cannot be used in an article, unless you buy it for like 99$, which is unacceptable.
Thanks,
EL
Take a look at Flow Player.
Its free and easy to install. You can customise various options using a UI on their site and they will provide the embed code for it.
HTML5 might be usable.
http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html
Take a look here: http://extensions.joomla.org/extensions/multimedia/multimedia-players.
The extensions are evaluated. Some are free.
hey the best one imo is >>
http://extensions.joomla.org/extensions/multimedia/multimedia-players/video-players-a-gallery/3955?qh=YTo2OntpOjA7czozOiJhbGwiO2k6MTtzOjQ6ImFsbGUiO2k6MjtzOjU6ImFsbGVzIjtpOjM7czo1OiJ2aWRlbyI7aTo0O3M6NjoidmlkZW9zIjtpOjU7czo5OiJhbGwgdmlkZW8iO30%3D
its easy to use and configure and non-commercial