Jump to content

Crash-n-Burn

Members
  • Posts

    13
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

Crash-n-Burn's Achievements

Jr. Member

Jr. Member (3/6)

0

Reputation

  1. I would switch from utilizing the ternary operators "?:" to an IF/ELSE statement. Also output your variables at that time, so you can see what they are. You are black-boxing the thing and wondering why it's not working... If the if/else works then you probably need some brackets around your ternary-statement: $foo = ($bar == "foo") ? "Foo is Foo" : "No Foo here."; // OR $foo = (($bar == "foo") ? "Foo is Foo" : "No Foo here."); // This If I recall, when I've used ternary operators in PHP, it doesn't seem to evaluate quite like I would expect with C, AHK, or others.
  2. I haven't tested Magento, but throughout my months of research I kept seeing issues with it's scalability and efficiency -- especially so if you don't have a dedicated server. Carts that I've kept bookmarks for, and like for various reasons:
  3. I would recommend apesia adding in variation check, it doesn't need to have the code itself for handling multiple variations, but at least if it is there (the check) the rest could be modularized. Example: Instead of having a base "stock level" --- store the stock level in a variation array (that only has one member) called "base" or "root". Then if other members (or apesia) wants to later implement multiple stock levels, it will just be a matter of looping through the multiple variation arrays. So with a basic item like a t-shirt, that might have sizes and colors: The stock level will be stored within the 2D array: $variation0Num = 2; // how many loops to iterate/parse. $variation1type = "size" // name of the variation $variation1max = 3; // how many variations of type1 $variation2type = "color"; $variation2max = 3; $stocklevel[0][0] = 1; $stocklevel[0][1] = 2; $stocklevel[0][2] = 3; $stocklevel[1][0] = 2; $stocklevel[1][1] = 3; $stocklevel[1][2] = 4; $stocklevel[2][0] = 1; $stocklevel[2][1] = 2; $stocklevel[2][2] = 3; Items that have no variation, e.g. "base" or "root" $variation0num = 1; // how many loops to iterate/parse. $variation1type = "none"; // name of the variation. $variation1max = 1; // how many variations of type 1. $stocklevel[0] = 4; At least if the check is there when adding stock (in the back end) and purchasing items (in the front end) it will make it easier for everyone involved to improve/add functionality - so that the code doesn't become fragmented with multiple implementations that are trying to solve the same thing.
  4. We'd definitely be interested in a book, especially if it came with an e-book/pdf license/download (that might get updated over the course of the year after printing). A fair chunk of the content of such could be pulled from existing documentation on ProcessWire, and questions/answers on the forum. With the two formats, you have the best of both worlds: physical copy that you can read/annotate/use apart from your computer (or e-reader) and a digital copy that you can copy/paste source examples from.
  5. We're all trying to make a buck, we have rent to pay.
  6. I don't know if there is many similiarities. I just recall backend "menu-tree", similiar to PW's backend menu+pages. And the little research I did mentioned that all C5's modules should work-together as they are basically "custom blocks" - which made me think of PW's customized 'pages'. Editing/Adding content is from a view of the front-end with a layout-positional-overlay similiar to Opera et al's developer tools. Other things seemed awkward, some editor templating - very odd syntax there. If you compare PW to something like Joomla or Drupal, or even Wordpress they are so far removed as to be not even from the same galaxy... C5 and PW are at least on the same planet
  7. I couldn't say specifically, I didn't make a point by point list, but I've been testing Shopping Carts for the last couple months now. And lemonstandapp was slick, both in the front and backend for how you add and manage content. There's just not much to configure, generally when I find a lack of configuration options and key features missing I lose interest. LemonstandApp just felt like a pretty Californian blonde ;-) That's disappointing to hear about the lack of SEO for Avactis, I hadn't considered that. I really loved how Avactis made it so easy to add multiple Attributes to an item, save the attribute set as a Group, define exclusions to specific attribute pairs and handle stock for items with multiple attributes. As well Avactis was the only cart thus far that I've seen with the "php Tag" feature for embedding cart content into an existing site.
  8. This may be the wrong thread as such, But I'd recommend taking a look at Microsoft's Web Matrix, and seeing what you might need to do to get ProcessWire in the download list of WebMatrix's sister "Web Platform Installer 4.0". Free Advertising as it would be listed with the likes of Drupal, Joomla, Concrete5 et al in the Applications/CMS section. That's originally where I came across/first heard of Concrete5. I thought it interesting that PW and C5 seemed to have a similiar feel in the whole "Block" n "Page" object type. C5's marketplace is definitely something to consider for the future as well --- a way to monetize PW, promote developers and provide content/modules to dev's and users alike... all in one nifty package.
  9. @Pete I took a look at lemonstandapp, and while it looks great on the surface... the backend is thoroughly incomplete. LemonstandApp is missing far too many basic features to be considered for anyone selling more than a handful of "unique" items. e.g. No way to manage stock for multiple versions of an item. ----> A Shirt that is Blue, Red, Pink etc. has to be 3 separate shirts otherwise you can't manage the stock level. Now add another attribute to that product, like size, and the whole thing breaks down completely. And then when you consider that LemonstandApp costs $300 --- you are basically paying for some pretty CSS. I've yet to find anything better than Avactis as far as features and basic usability of the backend are concerned --- unfortunately the whole backend of Avactis is done with Tables and it looks very 1995. There also doesn't appear to be any Templates for the backend to fix the layout, and since it's tables you can't really apply css to fix that aspect.
  10. Well I've picked one book so far, although it's a JS Book by one of the jQuery dev's: Secrets of the JavaScript Ninja.
  11. Has anyone done a processwire site along with an ecommerce solution? I have been looking at: So what have people used, Are there any that fit better than others?
  12. Cool. Thanks. I hadn't dug deep into the internals of ProcessWire yet. My "boss" prefers Joomla, and then customize templates as needed - depending on client budget. Personally I can't stand anything about Joomla - I begrudgingly use it as required and have gotten used to some of it's less offending "qualities". I had thought PW was based on PHP, but I see the revised PW frontpage is referencing JQuery now. There were a few JQuery and/or JavaScript based books I was considering but hadn't nailed down which might be best. Obviously personal taste will differ one way or another, but primarily I'd be looking for recommendations on: PHP - that goes beyond merely cataloging functions or basic examples, php.net is fine for that. JQuery and/or JavaScript. CSS, as I'll need to develop templates that rely much less on hacking/customizing prefab structures. I was considering a PHP/Mysql book, but at this point in time, I find myself much less inclined to cut my teeth on developing Joomla extensions:: the internals of Joomla (proper, templates and extensions) are painful to look at (and I know DOS/CMD Batch Script). Comparatively ProcessWire is so clean, functional, and easy on the eyes and brain. A few years ago, I likely would of wanted a text on HTML, but that has devolved so far now, 90%+ of the front-end "Web-Code" I deal with are <div>'s modified by CSS. As well, anything beyond the 3 languages/topics above, that would be beneficial or synergistic, like that ProcessWire book (much appreciated).
  13. I've done some Javascript (introductory class) and tinkering on my own, and self taught what I've needed so far w/ PHP (as it's syntactically similiar to C). I'd be interested in Book recommendations from Ryan or other members that have become well versed with ProcessWire development. Thank you, Crash
×
×
  • Create New...