Jump to content

TravisJRyan

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Everything posted by TravisJRyan

  1. I think that is why I like Zend over the others I have used. You dont HAVE to use everything it offers or even use their MVC. Just like you said tho, its mor eof a library. . hell, isnt the folder name its packaged with named library? haha. Zend all the way. I do like cake and symphony for its ability to create a basic template to start with. "Scaffolding" but really only useful for administrative type sites, well for what I have done with them.
  2. __get & __set break encapsulation just as he was arguing. . .so php has an inconsistency with its magic methods. What happens when you reference a private property of an object? It goes to __get() or __set() where you CAN break the theory of encapsulation. If a property is private, "why provide a means of accessing it?" After discussions at work and everything, its come down to that. Allow the break in encapsulation in one method, why not all of them? or fix the others.
  3. I tried expr "sama*ntha" on this test case "sammntha" no matches
  4. So would you agree that calling a method of an object that id declared as private should not throw and exception if the __call magic function is present in the class and can be called if the object's method it is calling is out of its scope?
  5. Cake is pretty sweet. I used to for several simple apps in the past but most recently got into ZF obviously from all the plugs I have been giving it. Promise ill quit. . haha. It really is an easy framework to learn, but cakePHP is just as easy, tab bit slower from what I have read.
  6. because its doing this match literally "sam" match "a" optionally and as many times match literally "ntha" http://www.regular-expressions.info/ And check out regex buddy. Handy tool
  7. haha. .agreed, and ya, I would probably think that as well. I suppose my example was pretty lame.
  8. Give Zend Framework a try, word has it they are partnering with dojo javascript framework, so your ajax app may be really simple with that one.
  9. In this particular case today we have something in our application that sends various emails. Every method requires similar parameters and the responses should be the same. So the idea was to create a simple script that ripped through all the method names, pass in an id, get a response. Easily logged with a script or debugger during development agreed. The scope of a private/protected method inside of a class seems off point however. Its not a requirement of knowledge on how a class is implemented, but perhaps a "convenience" option should you need that type of information..
  10. I believe that yes, a debugger works just as well, but is a waste of time stepping through crap. If I can dump stuff on run time and be quick about things, Id rather do that on my dev box then step through crap. I have the zend debugger installed on my dev box but I think have used it a handful of times. What fundamental flaw are you referring to? --------------------- What it gets down to is this. A private method shouldn't and isn't accessible by any other object...right? Would that mean Object A looking at Object B's private method be ok? (this sounds horrible) Shouldn't a private method but invisible so to speak to anything outside of itself. With that thought: Why would we throw a fatal error when trying to call it if according to object A, the private method in object B isn't accessible. Wouldn't it make sense in the case that it is not visible by something outside itself to invoke the __call() magic method even if __call simply calls the private method by that name? I suppose the real question isn't my clouded jankie way of unit testing (which for the record I never did, just made it up for discussion sake. . . lol ) or debugging, but whether or not PHP is operating as it should when it tosses a fatal on attempts to access a defined method in a class that is either protected or private when a __call method is present.
  11. Have you tried one yet? Zend is probably the easiest. . a few hours reading and im sure you will be a 5-10 in php knowledge AND zend framework, its well documented. and has a cool search documentation feature. Dont worry about the planning out all the classes. . there are tons of people who did that for you. CodeIgnitor Symfony Zend Framework CakePHP
  12. Try Zend Framework, or your choice in php frameworks for rapid OOP/MVC development
  13. Certainly didn't mean to discourage you in your goals, but the post I made was and example of some of the support tickets I will get from my QA department on any application we build. Functionality is one thing, but flow and usability this day in age is a key element to your web application's success.
  14. Just a quick 2 cents. A lot of your section borders are white lines which contrast badly with the text creating that busy feel. If you change it up very slightly I feel that it will have a much better fluid feel without having to change much of the basic content formatting. Try changing the color schema slightly on a column my column basis so each column has a clean style and I think the results will be great for you. Nice site over all tho man. Just a lot of information to display.
  15. Also, check standards for storing information like expiration date, date of birth, SSN (if you are collecting it). . those are pretty strict as well
  16. I work at a card processor and build middleware applications for lenders and banks that tie directly into our processor. I can tell you that you will NOT want to store any information in your application. If you do, be prepared to meet the standards for SAS70 and PCI. Most of the time if you are going to do some ecommerce, you will have to set up a deal with a processor. That processor will give you an API that you will be able to implement, more then likely it will be a SOAP interface. From that API over a secured connection you will be able to auth, debit, credit (refund) and settle. If you need a processor you may be able to use ours, but you would have to meet our strict standards of compliance. If you store a credit card number, (recommend you dont) I would ONLY store it in a 1 way hash and not a 2 way encryption, or unencrypted for that matter. . lol. CVV, CVV2, CVC must NEVER be stored in the session, database, or anything. It must be passed from form to form if it is not your last step and also passed in a rijindal256 2 way encrypted form. If you need any more help with the head aches, shoot me a PM or something, chances are I wont look at this thread again.
  17. As a key player in the project management at my office which is one of the largest PHP shops in the country. I can tell you that its pretty primitive in comparison to the open source options that are out there, if you want to be competitive, something like gForge with a better interface would be ideal and even better if it took queues from the open teams UI. Fatal error: Call to undefined function: str_ireplace() in /home/bgaylor/public_html/Tickets/admin/panel_tickets_edit.php on line 998 When adding a new ticket, if you click admin, it smokes the work you started on and directs you into the default layout in a tiny screen You have no max lengths on form elements. . .best practice Solutions took a large amount of time to load a simple page and comment, perhaps a slow query? User interaction paths seem all over the place, design a flow that is intuitive and apply it. You have XHTML 1.0 Strict DOCTYPE and its not XHTML compliant, several small things that will render correctly because the browser helps you, but is not following the standards. If you submitted this as open source now, I certainly wouldn't pick it up as a project to work on. If you really would like to be humbled, go check out openteams for ideas on your next release. This has a long way to go for anyone to consider picking it up in a professional environment. Good luck to you. P.S. Gayloraid kinda reminds me of an image I made of my friend Sanjay once. I'd change the name. . just my 2 cents
  18. <?php curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); ?> See if that doesnt work for ya
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.